1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for cpplib  .
4#
5# Report bugs to <gcc-bugs@gcc.gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: gcc-bugs@gcc.gnu.org about your system, including any
271$0: error possibly output before this message. Then install
272$0: a modern shell, or manually run the script under such a
273$0: shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='cpplib'
582PACKAGE_TARNAME='cpplib'
583PACKAGE_VERSION=' '
584PACKAGE_STRING='cpplib  '
585PACKAGE_BUGREPORT='gcc-bugs@gcc.gnu.org'
586PACKAGE_URL=''
587
588ac_unique_file="ucnid.h"
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_subst_vars='LTLIBOBJS
626PICFLAG
627MAINT
628USED_CATALOGS
629PACKAGE
630LTLIBICONV
631LIBICONV
632CATOBJEXT
633GENCAT
634INSTOBJEXT
635DATADIRNAME
636CATALOGS
637POSUB
638GMSGFMT
639XGETTEXT
640INCINTL
641LIBINTL_DEP
642LIBINTL
643USE_NLS
644ALLOCA
645LIBOBJS
646CXXDEPMODE
647DEPDIR
648am__leading_dot
649WERROR
650noexception_flags
651WARN_PEDANTIC
652c_warn
653warn
654AUTOHEADER
655AUTOCONF
656ACLOCAL
657EGREP
658GREP
659CPP
660RANLIB
661ac_ct_CXX
662CXXFLAGS
663CXX
664OBJEXT
665EXEEXT
666ac_ct_CC
667CPPFLAGS
668LDFLAGS
669CFLAGS
670CC
671INSTALL_DATA
672INSTALL_SCRIPT
673INSTALL_PROGRAM
674SET_MAKE
675target_os
676target_vendor
677target_cpu
678target
679host_os
680host_vendor
681host_cpu
682host
683build_os
684build_vendor
685build_cpu
686build
687target_alias
688host_alias
689build_alias
690LIBS
691ECHO_T
692ECHO_N
693ECHO_C
694DEFS
695mandir
696localedir
697libdir
698psdir
699pdfdir
700dvidir
701htmldir
702infodir
703docdir
704oldincludedir
705includedir
706localstatedir
707sharedstatedir
708sysconfdir
709datadir
710datarootdir
711libexecdir
712sbindir
713bindir
714program_transform_name
715prefix
716exec_prefix
717PACKAGE_URL
718PACKAGE_BUGREPORT
719PACKAGE_STRING
720PACKAGE_VERSION
721PACKAGE_TARNAME
722PACKAGE_NAME
723PATH_SEPARATOR
724SHELL'
725ac_subst_files=''
726ac_user_opts='
727enable_option_checking
728enable_largefile
729enable_werror_always
730with_gnu_ld
731enable_rpath
732with_libiconv_prefix
733with_libiconv_type
734enable_maintainer_mode
735enable_checking
736enable_canonical_system_headers
737enable_host_shared
738enable_valgrind_annotations
739'
740      ac_precious_vars='build_alias
741host_alias
742target_alias
743CC
744CFLAGS
745LDFLAGS
746LIBS
747CPPFLAGS
748CXX
749CXXFLAGS
750CCC
751CPP'
752
753
754# Initialize some variables set by options.
755ac_init_help=
756ac_init_version=false
757ac_unrecognized_opts=
758ac_unrecognized_sep=
759# The variables have the same names as the options, with
760# dashes changed to underlines.
761cache_file=/dev/null
762exec_prefix=NONE
763no_create=
764no_recursion=
765prefix=NONE
766program_prefix=NONE
767program_suffix=NONE
768program_transform_name=s,x,x,
769silent=
770site=
771srcdir=
772verbose=
773x_includes=NONE
774x_libraries=NONE
775
776# Installation directory options.
777# These are left unexpanded so users can "make install exec_prefix=/foo"
778# and all the variables that are supposed to be based on exec_prefix
779# by default will actually change.
780# Use braces instead of parens because sh, perl, etc. also accept them.
781# (The list follows the same order as the GNU Coding Standards.)
782bindir='${exec_prefix}/bin'
783sbindir='${exec_prefix}/sbin'
784libexecdir='${exec_prefix}/libexec'
785datarootdir='${prefix}/share'
786datadir='${datarootdir}'
787sysconfdir='${prefix}/etc'
788sharedstatedir='${prefix}/com'
789localstatedir='${prefix}/var'
790includedir='${prefix}/include'
791oldincludedir='/usr/include'
792docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
793infodir='${datarootdir}/info'
794htmldir='${docdir}'
795dvidir='${docdir}'
796pdfdir='${docdir}'
797psdir='${docdir}'
798libdir='${exec_prefix}/lib'
799localedir='${datarootdir}/locale'
800mandir='${datarootdir}/man'
801
802ac_prev=
803ac_dashdash=
804for ac_option
805do
806  # If the previous option needs an argument, assign it.
807  if test -n "$ac_prev"; then
808    eval $ac_prev=\$ac_option
809    ac_prev=
810    continue
811  fi
812
813  case $ac_option in
814  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
815  *=)   ac_optarg= ;;
816  *)    ac_optarg=yes ;;
817  esac
818
819  # Accept the important Cygnus configure options, so we can diagnose typos.
820
821  case $ac_dashdash$ac_option in
822  --)
823    ac_dashdash=yes ;;
824
825  -bindir | --bindir | --bindi | --bind | --bin | --bi)
826    ac_prev=bindir ;;
827  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
828    bindir=$ac_optarg ;;
829
830  -build | --build | --buil | --bui | --bu)
831    ac_prev=build_alias ;;
832  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
833    build_alias=$ac_optarg ;;
834
835  -cache-file | --cache-file | --cache-fil | --cache-fi \
836  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
837    ac_prev=cache_file ;;
838  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
839  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
840    cache_file=$ac_optarg ;;
841
842  --config-cache | -C)
843    cache_file=config.cache ;;
844
845  -datadir | --datadir | --datadi | --datad)
846    ac_prev=datadir ;;
847  -datadir=* | --datadir=* | --datadi=* | --datad=*)
848    datadir=$ac_optarg ;;
849
850  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
851  | --dataroo | --dataro | --datar)
852    ac_prev=datarootdir ;;
853  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
854  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
855    datarootdir=$ac_optarg ;;
856
857  -disable-* | --disable-*)
858    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859    # Reject names that are not valid shell variable names.
860    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861      as_fn_error $? "invalid feature name: $ac_useropt"
862    ac_useropt_orig=$ac_useropt
863    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864    case $ac_user_opts in
865      *"
866"enable_$ac_useropt"
867"*) ;;
868      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869	 ac_unrecognized_sep=', ';;
870    esac
871    eval enable_$ac_useropt=no ;;
872
873  -docdir | --docdir | --docdi | --doc | --do)
874    ac_prev=docdir ;;
875  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
876    docdir=$ac_optarg ;;
877
878  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879    ac_prev=dvidir ;;
880  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
881    dvidir=$ac_optarg ;;
882
883  -enable-* | --enable-*)
884    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885    # Reject names that are not valid shell variable names.
886    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887      as_fn_error $? "invalid feature name: $ac_useropt"
888    ac_useropt_orig=$ac_useropt
889    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890    case $ac_user_opts in
891      *"
892"enable_$ac_useropt"
893"*) ;;
894      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
895	 ac_unrecognized_sep=', ';;
896    esac
897    eval enable_$ac_useropt=\$ac_optarg ;;
898
899  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
900  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
901  | --exec | --exe | --ex)
902    ac_prev=exec_prefix ;;
903  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
904  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
905  | --exec=* | --exe=* | --ex=*)
906    exec_prefix=$ac_optarg ;;
907
908  -gas | --gas | --ga | --g)
909    # Obsolete; use --with-gas.
910    with_gas=yes ;;
911
912  -help | --help | --hel | --he | -h)
913    ac_init_help=long ;;
914  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
915    ac_init_help=recursive ;;
916  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
917    ac_init_help=short ;;
918
919  -host | --host | --hos | --ho)
920    ac_prev=host_alias ;;
921  -host=* | --host=* | --hos=* | --ho=*)
922    host_alias=$ac_optarg ;;
923
924  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925    ac_prev=htmldir ;;
926  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927  | --ht=*)
928    htmldir=$ac_optarg ;;
929
930  -includedir | --includedir | --includedi | --included | --include \
931  | --includ | --inclu | --incl | --inc)
932    ac_prev=includedir ;;
933  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
934  | --includ=* | --inclu=* | --incl=* | --inc=*)
935    includedir=$ac_optarg ;;
936
937  -infodir | --infodir | --infodi | --infod | --info | --inf)
938    ac_prev=infodir ;;
939  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
940    infodir=$ac_optarg ;;
941
942  -libdir | --libdir | --libdi | --libd)
943    ac_prev=libdir ;;
944  -libdir=* | --libdir=* | --libdi=* | --libd=*)
945    libdir=$ac_optarg ;;
946
947  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
948  | --libexe | --libex | --libe)
949    ac_prev=libexecdir ;;
950  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
951  | --libexe=* | --libex=* | --libe=*)
952    libexecdir=$ac_optarg ;;
953
954  -localedir | --localedir | --localedi | --localed | --locale)
955    ac_prev=localedir ;;
956  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
957    localedir=$ac_optarg ;;
958
959  -localstatedir | --localstatedir | --localstatedi | --localstated \
960  | --localstate | --localstat | --localsta | --localst | --locals)
961    ac_prev=localstatedir ;;
962  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
963  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
964    localstatedir=$ac_optarg ;;
965
966  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967    ac_prev=mandir ;;
968  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969    mandir=$ac_optarg ;;
970
971  -nfp | --nfp | --nf)
972    # Obsolete; use --without-fp.
973    with_fp=no ;;
974
975  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
976  | --no-cr | --no-c | -n)
977    no_create=yes ;;
978
979  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
980  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
981    no_recursion=yes ;;
982
983  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
984  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
985  | --oldin | --oldi | --old | --ol | --o)
986    ac_prev=oldincludedir ;;
987  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
988  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
989  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
990    oldincludedir=$ac_optarg ;;
991
992  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993    ac_prev=prefix ;;
994  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
995    prefix=$ac_optarg ;;
996
997  -program-prefix | --program-prefix | --program-prefi | --program-pref \
998  | --program-pre | --program-pr | --program-p)
999    ac_prev=program_prefix ;;
1000  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1001  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1002    program_prefix=$ac_optarg ;;
1003
1004  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1005  | --program-suf | --program-su | --program-s)
1006    ac_prev=program_suffix ;;
1007  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1008  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1009    program_suffix=$ac_optarg ;;
1010
1011  -program-transform-name | --program-transform-name \
1012  | --program-transform-nam | --program-transform-na \
1013  | --program-transform-n | --program-transform- \
1014  | --program-transform | --program-transfor \
1015  | --program-transfo | --program-transf \
1016  | --program-trans | --program-tran \
1017  | --progr-tra | --program-tr | --program-t)
1018    ac_prev=program_transform_name ;;
1019  -program-transform-name=* | --program-transform-name=* \
1020  | --program-transform-nam=* | --program-transform-na=* \
1021  | --program-transform-n=* | --program-transform-=* \
1022  | --program-transform=* | --program-transfor=* \
1023  | --program-transfo=* | --program-transf=* \
1024  | --program-trans=* | --program-tran=* \
1025  | --progr-tra=* | --program-tr=* | --program-t=*)
1026    program_transform_name=$ac_optarg ;;
1027
1028  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029    ac_prev=pdfdir ;;
1030  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1031    pdfdir=$ac_optarg ;;
1032
1033  -psdir | --psdir | --psdi | --psd | --ps)
1034    ac_prev=psdir ;;
1035  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1036    psdir=$ac_optarg ;;
1037
1038  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039  | -silent | --silent | --silen | --sile | --sil)
1040    silent=yes ;;
1041
1042  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1043    ac_prev=sbindir ;;
1044  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1045  | --sbi=* | --sb=*)
1046    sbindir=$ac_optarg ;;
1047
1048  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1049  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1050  | --sharedst | --shareds | --shared | --share | --shar \
1051  | --sha | --sh)
1052    ac_prev=sharedstatedir ;;
1053  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1054  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1055  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1056  | --sha=* | --sh=*)
1057    sharedstatedir=$ac_optarg ;;
1058
1059  -site | --site | --sit)
1060    ac_prev=site ;;
1061  -site=* | --site=* | --sit=*)
1062    site=$ac_optarg ;;
1063
1064  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1065    ac_prev=srcdir ;;
1066  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1067    srcdir=$ac_optarg ;;
1068
1069  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1070  | --syscon | --sysco | --sysc | --sys | --sy)
1071    ac_prev=sysconfdir ;;
1072  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1073  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1074    sysconfdir=$ac_optarg ;;
1075
1076  -target | --target | --targe | --targ | --tar | --ta | --t)
1077    ac_prev=target_alias ;;
1078  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1079    target_alias=$ac_optarg ;;
1080
1081  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1082    verbose=yes ;;
1083
1084  -version | --version | --versio | --versi | --vers | -V)
1085    ac_init_version=: ;;
1086
1087  -with-* | --with-*)
1088    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1089    # Reject names that are not valid shell variable names.
1090    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091      as_fn_error $? "invalid package name: $ac_useropt"
1092    ac_useropt_orig=$ac_useropt
1093    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094    case $ac_user_opts in
1095      *"
1096"with_$ac_useropt"
1097"*) ;;
1098      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099	 ac_unrecognized_sep=', ';;
1100    esac
1101    eval with_$ac_useropt=\$ac_optarg ;;
1102
1103  -without-* | --without-*)
1104    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105    # Reject names that are not valid shell variable names.
1106    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107      as_fn_error $? "invalid package name: $ac_useropt"
1108    ac_useropt_orig=$ac_useropt
1109    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110    case $ac_user_opts in
1111      *"
1112"with_$ac_useropt"
1113"*) ;;
1114      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1115	 ac_unrecognized_sep=', ';;
1116    esac
1117    eval with_$ac_useropt=no ;;
1118
1119  --x)
1120    # Obsolete; use --with-x.
1121    with_x=yes ;;
1122
1123  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1124  | --x-incl | --x-inc | --x-in | --x-i)
1125    ac_prev=x_includes ;;
1126  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1127  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1128    x_includes=$ac_optarg ;;
1129
1130  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1131  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1132    ac_prev=x_libraries ;;
1133  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1134  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1135    x_libraries=$ac_optarg ;;
1136
1137  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1138Try \`$0 --help' for more information"
1139    ;;
1140
1141  *=*)
1142    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1143    # Reject names that are not valid shell variable names.
1144    case $ac_envvar in #(
1145      '' | [0-9]* | *[!_$as_cr_alnum]* )
1146      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1147    esac
1148    eval $ac_envvar=\$ac_optarg
1149    export $ac_envvar ;;
1150
1151  *)
1152    # FIXME: should be removed in autoconf 3.0.
1153    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1157    ;;
1158
1159  esac
1160done
1161
1162if test -n "$ac_prev"; then
1163  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1164  as_fn_error $? "missing argument to $ac_option"
1165fi
1166
1167if test -n "$ac_unrecognized_opts"; then
1168  case $enable_option_checking in
1169    no) ;;
1170    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1171    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172  esac
1173fi
1174
1175# Check all directory arguments for consistency.
1176for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177		datadir sysconfdir sharedstatedir localstatedir includedir \
1178		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179		libdir localedir mandir
1180do
1181  eval ac_val=\$$ac_var
1182  # Remove trailing slashes.
1183  case $ac_val in
1184    */ )
1185      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1186      eval $ac_var=\$ac_val;;
1187  esac
1188  # Be sure to have absolute directory names.
1189  case $ac_val in
1190    [\\/$]* | ?:[\\/]* )  continue;;
1191    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1192  esac
1193  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1194done
1195
1196# There might be people who depend on the old broken behavior: `$host'
1197# used to hold the argument of --host etc.
1198# FIXME: To remove some day.
1199build=$build_alias
1200host=$host_alias
1201target=$target_alias
1202
1203# FIXME: To remove some day.
1204if test "x$host_alias" != x; then
1205  if test "x$build_alias" = x; then
1206    cross_compiling=maybe
1207  elif test "x$build_alias" != "x$host_alias"; then
1208    cross_compiling=yes
1209  fi
1210fi
1211
1212ac_tool_prefix=
1213test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214
1215test "$silent" = yes && exec 6>/dev/null
1216
1217
1218ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219ac_ls_di=`ls -di .` &&
1220ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221  as_fn_error $? "working directory cannot be determined"
1222test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223  as_fn_error $? "pwd does not report name of working directory"
1224
1225
1226# Find the source files, if location was not specified.
1227if test -z "$srcdir"; then
1228  ac_srcdir_defaulted=yes
1229  # Try the directory containing this script, then the parent directory.
1230  ac_confdir=`$as_dirname -- "$as_myself" ||
1231$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232	 X"$as_myself" : 'X\(//\)[^/]' \| \
1233	 X"$as_myself" : 'X\(//\)$' \| \
1234	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1235$as_echo X"$as_myself" |
1236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237	    s//\1/
1238	    q
1239	  }
1240	  /^X\(\/\/\)[^/].*/{
1241	    s//\1/
1242	    q
1243	  }
1244	  /^X\(\/\/\)$/{
1245	    s//\1/
1246	    q
1247	  }
1248	  /^X\(\/\).*/{
1249	    s//\1/
1250	    q
1251	  }
1252	  s/.*/./; q'`
1253  srcdir=$ac_confdir
1254  if test ! -r "$srcdir/$ac_unique_file"; then
1255    srcdir=..
1256  fi
1257else
1258  ac_srcdir_defaulted=no
1259fi
1260if test ! -r "$srcdir/$ac_unique_file"; then
1261  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1263fi
1264ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265ac_abs_confdir=`(
1266	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1267	pwd)`
1268# When building in place, set srcdir=.
1269if test "$ac_abs_confdir" = "$ac_pwd"; then
1270  srcdir=.
1271fi
1272# Remove unnecessary trailing slashes from srcdir.
1273# Double slashes in file names in object file debugging info
1274# mess up M-x gdb in Emacs.
1275case $srcdir in
1276*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277esac
1278for ac_var in $ac_precious_vars; do
1279  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280  eval ac_env_${ac_var}_value=\$${ac_var}
1281  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283done
1284
1285#
1286# Report the --help message.
1287#
1288if test "$ac_init_help" = "long"; then
1289  # Omit some internal or obsolete options to make the list less imposing.
1290  # This message is too long to be a string in the A/UX 3.1 sh.
1291  cat <<_ACEOF
1292\`configure' configures cpplib   to adapt to many kinds of systems.
1293
1294Usage: $0 [OPTION]... [VAR=VALUE]...
1295
1296To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297VAR=VALUE.  See below for descriptions of some of the useful variables.
1298
1299Defaults for the options are specified in brackets.
1300
1301Configuration:
1302  -h, --help              display this help and exit
1303      --help=short        display options specific to this package
1304      --help=recursive    display the short help of all the included packages
1305  -V, --version           display version information and exit
1306  -q, --quiet, --silent   do not print \`checking ...' messages
1307      --cache-file=FILE   cache test results in FILE [disabled]
1308  -C, --config-cache      alias for \`--cache-file=config.cache'
1309  -n, --no-create         do not create output files
1310      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1311
1312Installation directories:
1313  --prefix=PREFIX         install architecture-independent files in PREFIX
1314                          [$ac_default_prefix]
1315  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1316                          [PREFIX]
1317
1318By default, \`make install' will install all the files in
1319\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1320an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321for instance \`--prefix=\$HOME'.
1322
1323For better control, use the options below.
1324
1325Fine tuning of the installation directories:
1326  --bindir=DIR            user executables [EPREFIX/bin]
1327  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1328  --libexecdir=DIR        program executables [EPREFIX/libexec]
1329  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1330  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1331  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1332  --libdir=DIR            object code libraries [EPREFIX/lib]
1333  --includedir=DIR        C header files [PREFIX/include]
1334  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1335  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1336  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1337  --infodir=DIR           info documentation [DATAROOTDIR/info]
1338  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1339  --mandir=DIR            man documentation [DATAROOTDIR/man]
1340  --docdir=DIR            documentation root [DATAROOTDIR/doc/cpplib]
1341  --htmldir=DIR           html documentation [DOCDIR]
1342  --dvidir=DIR            dvi documentation [DOCDIR]
1343  --pdfdir=DIR            pdf documentation [DOCDIR]
1344  --psdir=DIR             ps documentation [DOCDIR]
1345_ACEOF
1346
1347  cat <<\_ACEOF
1348
1349System types:
1350  --build=BUILD     configure for building on BUILD [guessed]
1351  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1352  --target=TARGET   configure for building compilers for TARGET [HOST]
1353_ACEOF
1354fi
1355
1356if test -n "$ac_init_help"; then
1357  case $ac_init_help in
1358     short | recursive ) echo "Configuration of cpplib  :";;
1359   esac
1360  cat <<\_ACEOF
1361
1362Optional Features:
1363  --disable-option-checking  ignore unrecognized --enable/--with options
1364  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1365  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1366  --disable-largefile     omit support for large files
1367  --enable-werror-always  enable -Werror despite compiler version
1368  --disable-rpath         do not hardcode runtime library paths
1369  --enable-maintainer-mode enable rules only needed by maintainers
1370  --enable-checking[=LIST]
1371                          enable expensive run-time checks. With LIST, enable
1372                          only specific categories of checks. Categories are:
1373                          yes,no,all,none,release. Flags are: misc,valgrind or
1374                          other strings
1375  --enable-canonical-system-headers
1376                          enable or disable system headers canonicalization
1377  --enable-host-shared    build host code as shared libraries
1378  --enable-valgrind-annotations
1379                          enable valgrind runtime interaction
1380
1381Optional Packages:
1382  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1383  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1384  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1385  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1386  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1387  --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
1388
1389Some influential environment variables:
1390  CC          C compiler command
1391  CFLAGS      C compiler flags
1392  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1393              nonstandard directory <lib dir>
1394  LIBS        libraries to pass to the linker, e.g. -l<library>
1395  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1396              you have headers in a nonstandard directory <include dir>
1397  CXX         C++ compiler command
1398  CXXFLAGS    C++ compiler flags
1399  CPP         C preprocessor
1400
1401Use these variables to override the choices made by `configure' or to help
1402it to find libraries and programs with nonstandard names/locations.
1403
1404Report bugs to <gcc-bugs@gcc.gnu.org>.
1405_ACEOF
1406ac_status=$?
1407fi
1408
1409if test "$ac_init_help" = "recursive"; then
1410  # If there are subdirs, report their specific --help.
1411  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412    test -d "$ac_dir" ||
1413      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1414      continue
1415    ac_builddir=.
1416
1417case "$ac_dir" in
1418.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419*)
1420  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1421  # A ".." for each directory in $ac_dir_suffix.
1422  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1423  case $ac_top_builddir_sub in
1424  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426  esac ;;
1427esac
1428ac_abs_top_builddir=$ac_pwd
1429ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430# for backward compatibility:
1431ac_top_builddir=$ac_top_build_prefix
1432
1433case $srcdir in
1434  .)  # We are building in place.
1435    ac_srcdir=.
1436    ac_top_srcdir=$ac_top_builddir_sub
1437    ac_abs_top_srcdir=$ac_pwd ;;
1438  [\\/]* | ?:[\\/]* )  # Absolute name.
1439    ac_srcdir=$srcdir$ac_dir_suffix;
1440    ac_top_srcdir=$srcdir
1441    ac_abs_top_srcdir=$srcdir ;;
1442  *) # Relative name.
1443    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444    ac_top_srcdir=$ac_top_build_prefix$srcdir
1445    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446esac
1447ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448
1449    cd "$ac_dir" || { ac_status=$?; continue; }
1450    # Check for guested configure.
1451    if test -f "$ac_srcdir/configure.gnu"; then
1452      echo &&
1453      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454    elif test -f "$ac_srcdir/configure"; then
1455      echo &&
1456      $SHELL "$ac_srcdir/configure" --help=recursive
1457    else
1458      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459    fi || ac_status=$?
1460    cd "$ac_pwd" || { ac_status=$?; break; }
1461  done
1462fi
1463
1464test -n "$ac_init_help" && exit $ac_status
1465if $ac_init_version; then
1466  cat <<\_ACEOF
1467cpplib configure
1468generated by GNU Autoconf 2.69
1469
1470Copyright (C) 2012 Free Software Foundation, Inc.
1471This configure script is free software; the Free Software Foundation
1472gives unlimited permission to copy, distribute and modify it.
1473_ACEOF
1474  exit
1475fi
1476
1477## ------------------------ ##
1478## Autoconf initialization. ##
1479## ------------------------ ##
1480
1481# ac_fn_c_try_compile LINENO
1482# --------------------------
1483# Try to compile conftest.$ac_ext, and return whether this succeeded.
1484ac_fn_c_try_compile ()
1485{
1486  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487  rm -f conftest.$ac_objext
1488  if { { ac_try="$ac_compile"
1489case "(($ac_try" in
1490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491  *) ac_try_echo=$ac_try;;
1492esac
1493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494$as_echo "$ac_try_echo"; } >&5
1495  (eval "$ac_compile") 2>conftest.err
1496  ac_status=$?
1497  if test -s conftest.err; then
1498    grep -v '^ *+' conftest.err >conftest.er1
1499    cat conftest.er1 >&5
1500    mv -f conftest.er1 conftest.err
1501  fi
1502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503  test $ac_status = 0; } && {
1504	 test -z "$ac_c_werror_flag" ||
1505	 test ! -s conftest.err
1506       } && test -s conftest.$ac_objext; then :
1507  ac_retval=0
1508else
1509  $as_echo "$as_me: failed program was:" >&5
1510sed 's/^/| /' conftest.$ac_ext >&5
1511
1512	ac_retval=1
1513fi
1514  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515  as_fn_set_status $ac_retval
1516
1517} # ac_fn_c_try_compile
1518
1519# ac_fn_cxx_try_compile LINENO
1520# ----------------------------
1521# Try to compile conftest.$ac_ext, and return whether this succeeded.
1522ac_fn_cxx_try_compile ()
1523{
1524  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525  rm -f conftest.$ac_objext
1526  if { { ac_try="$ac_compile"
1527case "(($ac_try" in
1528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529  *) ac_try_echo=$ac_try;;
1530esac
1531eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532$as_echo "$ac_try_echo"; } >&5
1533  (eval "$ac_compile") 2>conftest.err
1534  ac_status=$?
1535  if test -s conftest.err; then
1536    grep -v '^ *+' conftest.err >conftest.er1
1537    cat conftest.er1 >&5
1538    mv -f conftest.er1 conftest.err
1539  fi
1540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541  test $ac_status = 0; } && {
1542	 test -z "$ac_cxx_werror_flag" ||
1543	 test ! -s conftest.err
1544       } && test -s conftest.$ac_objext; then :
1545  ac_retval=0
1546else
1547  $as_echo "$as_me: failed program was:" >&5
1548sed 's/^/| /' conftest.$ac_ext >&5
1549
1550	ac_retval=1
1551fi
1552  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553  as_fn_set_status $ac_retval
1554
1555} # ac_fn_cxx_try_compile
1556
1557# ac_fn_c_try_cpp LINENO
1558# ----------------------
1559# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1560ac_fn_c_try_cpp ()
1561{
1562  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563  if { { ac_try="$ac_cpp conftest.$ac_ext"
1564case "(($ac_try" in
1565  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566  *) ac_try_echo=$ac_try;;
1567esac
1568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569$as_echo "$ac_try_echo"; } >&5
1570  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1571  ac_status=$?
1572  if test -s conftest.err; then
1573    grep -v '^ *+' conftest.err >conftest.er1
1574    cat conftest.er1 >&5
1575    mv -f conftest.er1 conftest.err
1576  fi
1577  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578  test $ac_status = 0; } > conftest.i && {
1579	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1580	 test ! -s conftest.err
1581       }; then :
1582  ac_retval=0
1583else
1584  $as_echo "$as_me: failed program was:" >&5
1585sed 's/^/| /' conftest.$ac_ext >&5
1586
1587    ac_retval=1
1588fi
1589  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590  as_fn_set_status $ac_retval
1591
1592} # ac_fn_c_try_cpp
1593
1594# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1595# -------------------------------------------------------
1596# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1597# the include files in INCLUDES and setting the cache variable VAR
1598# accordingly.
1599ac_fn_c_check_header_mongrel ()
1600{
1601  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602  if eval \${$3+:} false; then :
1603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604$as_echo_n "checking for $2... " >&6; }
1605if eval \${$3+:} false; then :
1606  $as_echo_n "(cached) " >&6
1607fi
1608eval ac_res=\$$3
1609	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610$as_echo "$ac_res" >&6; }
1611else
1612  # Is the header compilable?
1613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1614$as_echo_n "checking $2 usability... " >&6; }
1615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616/* end confdefs.h.  */
1617$4
1618#include <$2>
1619_ACEOF
1620if ac_fn_c_try_compile "$LINENO"; then :
1621  ac_header_compiler=yes
1622else
1623  ac_header_compiler=no
1624fi
1625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1627$as_echo "$ac_header_compiler" >&6; }
1628
1629# Is the header present?
1630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1631$as_echo_n "checking $2 presence... " >&6; }
1632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633/* end confdefs.h.  */
1634#include <$2>
1635_ACEOF
1636if ac_fn_c_try_cpp "$LINENO"; then :
1637  ac_header_preproc=yes
1638else
1639  ac_header_preproc=no
1640fi
1641rm -f conftest.err conftest.i conftest.$ac_ext
1642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1643$as_echo "$ac_header_preproc" >&6; }
1644
1645# So?  What about this header?
1646case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1647  yes:no: )
1648    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1649$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1650    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652    ;;
1653  no:yes:* )
1654    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1655$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1656    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1657$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1658    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1659$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1660    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1661$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1662    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664( $as_echo "## ----------------------------------- ##
1665## Report this to gcc-bugs@gcc.gnu.org ##
1666## ----------------------------------- ##"
1667     ) | sed "s/^/$as_me: WARNING:     /" >&2
1668    ;;
1669esac
1670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671$as_echo_n "checking for $2... " >&6; }
1672if eval \${$3+:} false; then :
1673  $as_echo_n "(cached) " >&6
1674else
1675  eval "$3=\$ac_header_compiler"
1676fi
1677eval ac_res=\$$3
1678	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679$as_echo "$ac_res" >&6; }
1680fi
1681  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
1683} # ac_fn_c_check_header_mongrel
1684
1685# ac_fn_c_try_run LINENO
1686# ----------------------
1687# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1688# that executables *can* be run.
1689ac_fn_c_try_run ()
1690{
1691  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692  if { { ac_try="$ac_link"
1693case "(($ac_try" in
1694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695  *) ac_try_echo=$ac_try;;
1696esac
1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698$as_echo "$ac_try_echo"; } >&5
1699  (eval "$ac_link") 2>&5
1700  ac_status=$?
1701  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1703  { { case "(($ac_try" in
1704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705  *) ac_try_echo=$ac_try;;
1706esac
1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708$as_echo "$ac_try_echo"; } >&5
1709  (eval "$ac_try") 2>&5
1710  ac_status=$?
1711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712  test $ac_status = 0; }; }; then :
1713  ac_retval=0
1714else
1715  $as_echo "$as_me: program exited with status $ac_status" >&5
1716       $as_echo "$as_me: failed program was:" >&5
1717sed 's/^/| /' conftest.$ac_ext >&5
1718
1719       ac_retval=$ac_status
1720fi
1721  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723  as_fn_set_status $ac_retval
1724
1725} # ac_fn_c_try_run
1726
1727# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1728# -------------------------------------------------------
1729# Tests whether HEADER exists and can be compiled using the include files in
1730# INCLUDES, setting the cache variable VAR accordingly.
1731ac_fn_c_check_header_compile ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; }
1736if eval \${$3+:} false; then :
1737  $as_echo_n "(cached) " >&6
1738else
1739  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740/* end confdefs.h.  */
1741$4
1742#include <$2>
1743_ACEOF
1744if ac_fn_c_try_compile "$LINENO"; then :
1745  eval "$3=yes"
1746else
1747  eval "$3=no"
1748fi
1749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750fi
1751eval ac_res=\$$3
1752	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753$as_echo "$ac_res" >&6; }
1754  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755
1756} # ac_fn_c_check_header_compile
1757
1758# ac_fn_c_try_link LINENO
1759# -----------------------
1760# Try to link conftest.$ac_ext, and return whether this succeeded.
1761ac_fn_c_try_link ()
1762{
1763  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764  rm -f conftest.$ac_objext conftest$ac_exeext
1765  if { { ac_try="$ac_link"
1766case "(($ac_try" in
1767  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768  *) ac_try_echo=$ac_try;;
1769esac
1770eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771$as_echo "$ac_try_echo"; } >&5
1772  (eval "$ac_link") 2>conftest.err
1773  ac_status=$?
1774  if test -s conftest.err; then
1775    grep -v '^ *+' conftest.err >conftest.er1
1776    cat conftest.er1 >&5
1777    mv -f conftest.er1 conftest.err
1778  fi
1779  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780  test $ac_status = 0; } && {
1781	 test -z "$ac_c_werror_flag" ||
1782	 test ! -s conftest.err
1783       } && test -s conftest$ac_exeext && {
1784	 test "$cross_compiling" = yes ||
1785	 test -x conftest$ac_exeext
1786       }; then :
1787  ac_retval=0
1788else
1789  $as_echo "$as_me: failed program was:" >&5
1790sed 's/^/| /' conftest.$ac_ext >&5
1791
1792	ac_retval=1
1793fi
1794  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796  # interfere with the next link command; also delete a directory that is
1797  # left behind by Apple's compiler.  We do this before executing the actions.
1798  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800  as_fn_set_status $ac_retval
1801
1802} # ac_fn_c_try_link
1803
1804# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1805# -------------------------------------------
1806# Tests whether TYPE exists after having included INCLUDES, setting cache
1807# variable VAR accordingly.
1808ac_fn_c_check_type ()
1809{
1810  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812$as_echo_n "checking for $2... " >&6; }
1813if eval \${$3+:} false; then :
1814  $as_echo_n "(cached) " >&6
1815else
1816  eval "$3=no"
1817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818/* end confdefs.h.  */
1819$4
1820int
1821main ()
1822{
1823if (sizeof ($2))
1824	 return 0;
1825  ;
1826  return 0;
1827}
1828_ACEOF
1829if ac_fn_c_try_compile "$LINENO"; then :
1830  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831/* end confdefs.h.  */
1832$4
1833int
1834main ()
1835{
1836if (sizeof (($2)))
1837	    return 0;
1838  ;
1839  return 0;
1840}
1841_ACEOF
1842if ac_fn_c_try_compile "$LINENO"; then :
1843
1844else
1845  eval "$3=yes"
1846fi
1847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848fi
1849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850fi
1851eval ac_res=\$$3
1852	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853$as_echo "$ac_res" >&6; }
1854  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855
1856} # ac_fn_c_check_type
1857
1858# ac_fn_c_find_uintX_t LINENO BITS VAR
1859# ------------------------------------
1860# Finds an unsigned integer type with width BITS, setting cache variable VAR
1861# accordingly.
1862ac_fn_c_find_uintX_t ()
1863{
1864  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1866$as_echo_n "checking for uint$2_t... " >&6; }
1867if eval \${$3+:} false; then :
1868  $as_echo_n "(cached) " >&6
1869else
1870  eval "$3=no"
1871     # Order is important - never check a type that is potentially smaller
1872     # than half of the expected target width.
1873     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1874	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876/* end confdefs.h.  */
1877$ac_includes_default
1878int
1879main ()
1880{
1881static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1882test_array [0] = 0;
1883return test_array [0];
1884
1885  ;
1886  return 0;
1887}
1888_ACEOF
1889if ac_fn_c_try_compile "$LINENO"; then :
1890  case $ac_type in #(
1891  uint$2_t) :
1892    eval "$3=yes" ;; #(
1893  *) :
1894    eval "$3=\$ac_type" ;;
1895esac
1896fi
1897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898       if eval test \"x\$"$3"\" = x"no"; then :
1899
1900else
1901  break
1902fi
1903     done
1904fi
1905eval ac_res=\$$3
1906	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907$as_echo "$ac_res" >&6; }
1908  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909
1910} # ac_fn_c_find_uintX_t
1911
1912# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1913# --------------------------------------------
1914# Tries to find the compile-time value of EXPR in a program that includes
1915# INCLUDES, setting VAR accordingly. Returns whether the value could be
1916# computed
1917ac_fn_c_compute_int ()
1918{
1919  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920  if test "$cross_compiling" = yes; then
1921    # Depending upon the size, compute the lo and hi bounds.
1922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923/* end confdefs.h.  */
1924$4
1925int
1926main ()
1927{
1928static int test_array [1 - 2 * !(($2) >= 0)];
1929test_array [0] = 0;
1930return test_array [0];
1931
1932  ;
1933  return 0;
1934}
1935_ACEOF
1936if ac_fn_c_try_compile "$LINENO"; then :
1937  ac_lo=0 ac_mid=0
1938  while :; do
1939    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940/* end confdefs.h.  */
1941$4
1942int
1943main ()
1944{
1945static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1946test_array [0] = 0;
1947return test_array [0];
1948
1949  ;
1950  return 0;
1951}
1952_ACEOF
1953if ac_fn_c_try_compile "$LINENO"; then :
1954  ac_hi=$ac_mid; break
1955else
1956  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1957			if test $ac_lo -le $ac_mid; then
1958			  ac_lo= ac_hi=
1959			  break
1960			fi
1961			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1962fi
1963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1964  done
1965else
1966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1967/* end confdefs.h.  */
1968$4
1969int
1970main ()
1971{
1972static int test_array [1 - 2 * !(($2) < 0)];
1973test_array [0] = 0;
1974return test_array [0];
1975
1976  ;
1977  return 0;
1978}
1979_ACEOF
1980if ac_fn_c_try_compile "$LINENO"; then :
1981  ac_hi=-1 ac_mid=-1
1982  while :; do
1983    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1984/* end confdefs.h.  */
1985$4
1986int
1987main ()
1988{
1989static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1990test_array [0] = 0;
1991return test_array [0];
1992
1993  ;
1994  return 0;
1995}
1996_ACEOF
1997if ac_fn_c_try_compile "$LINENO"; then :
1998  ac_lo=$ac_mid; break
1999else
2000  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2001			if test $ac_mid -le $ac_hi; then
2002			  ac_lo= ac_hi=
2003			  break
2004			fi
2005			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2006fi
2007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008  done
2009else
2010  ac_lo= ac_hi=
2011fi
2012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013fi
2014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015# Binary search between lo and hi bounds.
2016while test "x$ac_lo" != "x$ac_hi"; do
2017  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2018  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019/* end confdefs.h.  */
2020$4
2021int
2022main ()
2023{
2024static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2025test_array [0] = 0;
2026return test_array [0];
2027
2028  ;
2029  return 0;
2030}
2031_ACEOF
2032if ac_fn_c_try_compile "$LINENO"; then :
2033  ac_hi=$ac_mid
2034else
2035  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2036fi
2037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2038done
2039case $ac_lo in #((
2040?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2041'') ac_retval=1 ;;
2042esac
2043  else
2044    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045/* end confdefs.h.  */
2046$4
2047static long int longval () { return $2; }
2048static unsigned long int ulongval () { return $2; }
2049#include <stdio.h>
2050#include <stdlib.h>
2051int
2052main ()
2053{
2054
2055  FILE *f = fopen ("conftest.val", "w");
2056  if (! f)
2057    return 1;
2058  if (($2) < 0)
2059    {
2060      long int i = longval ();
2061      if (i != ($2))
2062	return 1;
2063      fprintf (f, "%ld", i);
2064    }
2065  else
2066    {
2067      unsigned long int i = ulongval ();
2068      if (i != ($2))
2069	return 1;
2070      fprintf (f, "%lu", i);
2071    }
2072  /* Do not output a trailing newline, as this causes \r\n confusion
2073     on some platforms.  */
2074  return ferror (f) || fclose (f) != 0;
2075
2076  ;
2077  return 0;
2078}
2079_ACEOF
2080if ac_fn_c_try_run "$LINENO"; then :
2081  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2082else
2083  ac_retval=1
2084fi
2085rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2086  conftest.$ac_objext conftest.beam conftest.$ac_ext
2087rm -f conftest.val
2088
2089  fi
2090  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  as_fn_set_status $ac_retval
2092
2093} # ac_fn_c_compute_int
2094
2095# ac_fn_c_check_func LINENO FUNC VAR
2096# ----------------------------------
2097# Tests whether FUNC exists, setting the cache variable VAR accordingly
2098ac_fn_c_check_func ()
2099{
2100  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2102$as_echo_n "checking for $2... " >&6; }
2103if eval \${$3+:} false; then :
2104  $as_echo_n "(cached) " >&6
2105else
2106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107/* end confdefs.h.  */
2108/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2109   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2110#define $2 innocuous_$2
2111
2112/* System header to define __stub macros and hopefully few prototypes,
2113    which can conflict with char $2 (); below.
2114    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2115    <limits.h> exists even on freestanding compilers.  */
2116
2117#ifdef __STDC__
2118# include <limits.h>
2119#else
2120# include <assert.h>
2121#endif
2122
2123#undef $2
2124
2125/* Override any GCC internal prototype to avoid an error.
2126   Use char because int might match the return type of a GCC
2127   builtin and then its argument prototype would still apply.  */
2128#ifdef __cplusplus
2129extern "C"
2130#endif
2131char $2 ();
2132/* The GNU C library defines this for functions which it implements
2133    to always fail with ENOSYS.  Some functions are actually named
2134    something starting with __ and the normal name is an alias.  */
2135#if defined __stub_$2 || defined __stub___$2
2136choke me
2137#endif
2138
2139int
2140main ()
2141{
2142return $2 ();
2143  ;
2144  return 0;
2145}
2146_ACEOF
2147if ac_fn_c_try_link "$LINENO"; then :
2148  eval "$3=yes"
2149else
2150  eval "$3=no"
2151fi
2152rm -f core conftest.err conftest.$ac_objext \
2153    conftest$ac_exeext conftest.$ac_ext
2154fi
2155eval ac_res=\$$3
2156	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157$as_echo "$ac_res" >&6; }
2158  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159
2160} # ac_fn_c_check_func
2161
2162# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2163# ---------------------------------------------
2164# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2165# accordingly.
2166ac_fn_c_check_decl ()
2167{
2168  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2169  as_decl_name=`echo $2|sed 's/ *(.*//'`
2170  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2172$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2173if eval \${$3+:} false; then :
2174  $as_echo_n "(cached) " >&6
2175else
2176  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177/* end confdefs.h.  */
2178$4
2179int
2180main ()
2181{
2182#ifndef $as_decl_name
2183#ifdef __cplusplus
2184  (void) $as_decl_use;
2185#else
2186  (void) $as_decl_name;
2187#endif
2188#endif
2189
2190  ;
2191  return 0;
2192}
2193_ACEOF
2194if ac_fn_c_try_compile "$LINENO"; then :
2195  eval "$3=yes"
2196else
2197  eval "$3=no"
2198fi
2199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200fi
2201eval ac_res=\$$3
2202	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203$as_echo "$ac_res" >&6; }
2204  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205
2206} # ac_fn_c_check_decl
2207
2208# ac_fn_cxx_try_link LINENO
2209# -------------------------
2210# Try to link conftest.$ac_ext, and return whether this succeeded.
2211ac_fn_cxx_try_link ()
2212{
2213  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214  rm -f conftest.$ac_objext conftest$ac_exeext
2215  if { { ac_try="$ac_link"
2216case "(($ac_try" in
2217  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2218  *) ac_try_echo=$ac_try;;
2219esac
2220eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2221$as_echo "$ac_try_echo"; } >&5
2222  (eval "$ac_link") 2>conftest.err
2223  ac_status=$?
2224  if test -s conftest.err; then
2225    grep -v '^ *+' conftest.err >conftest.er1
2226    cat conftest.er1 >&5
2227    mv -f conftest.er1 conftest.err
2228  fi
2229  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2230  test $ac_status = 0; } && {
2231	 test -z "$ac_cxx_werror_flag" ||
2232	 test ! -s conftest.err
2233       } && test -s conftest$ac_exeext && {
2234	 test "$cross_compiling" = yes ||
2235	 test -x conftest$ac_exeext
2236       }; then :
2237  ac_retval=0
2238else
2239  $as_echo "$as_me: failed program was:" >&5
2240sed 's/^/| /' conftest.$ac_ext >&5
2241
2242	ac_retval=1
2243fi
2244  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2245  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2246  # interfere with the next link command; also delete a directory that is
2247  # left behind by Apple's compiler.  We do this before executing the actions.
2248  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2249  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2250  as_fn_set_status $ac_retval
2251
2252} # ac_fn_cxx_try_link
2253cat >config.log <<_ACEOF
2254This file contains any messages produced by compilers while
2255running configure, to aid debugging if configure makes a mistake.
2256
2257It was created by cpplib $as_me  , which was
2258generated by GNU Autoconf 2.69.  Invocation command line was
2259
2260  $ $0 $@
2261
2262_ACEOF
2263exec 5>>config.log
2264{
2265cat <<_ASUNAME
2266## --------- ##
2267## Platform. ##
2268## --------- ##
2269
2270hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2271uname -m = `(uname -m) 2>/dev/null || echo unknown`
2272uname -r = `(uname -r) 2>/dev/null || echo unknown`
2273uname -s = `(uname -s) 2>/dev/null || echo unknown`
2274uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275
2276/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2277/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2278
2279/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2280/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2281/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2282/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2283/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2284/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2285/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2286
2287_ASUNAME
2288
2289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290for as_dir in $PATH
2291do
2292  IFS=$as_save_IFS
2293  test -z "$as_dir" && as_dir=.
2294    $as_echo "PATH: $as_dir"
2295  done
2296IFS=$as_save_IFS
2297
2298} >&5
2299
2300cat >&5 <<_ACEOF
2301
2302
2303## ----------- ##
2304## Core tests. ##
2305## ----------- ##
2306
2307_ACEOF
2308
2309
2310# Keep a trace of the command line.
2311# Strip out --no-create and --no-recursion so they do not pile up.
2312# Strip out --silent because we don't want to record it for future runs.
2313# Also quote any args containing shell meta-characters.
2314# Make two passes to allow for proper duplicate-argument suppression.
2315ac_configure_args=
2316ac_configure_args0=
2317ac_configure_args1=
2318ac_must_keep_next=false
2319for ac_pass in 1 2
2320do
2321  for ac_arg
2322  do
2323    case $ac_arg in
2324    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2325    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2326    | -silent | --silent | --silen | --sile | --sil)
2327      continue ;;
2328    *\'*)
2329      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330    esac
2331    case $ac_pass in
2332    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2333    2)
2334      as_fn_append ac_configure_args1 " '$ac_arg'"
2335      if test $ac_must_keep_next = true; then
2336	ac_must_keep_next=false # Got value, back to normal.
2337      else
2338	case $ac_arg in
2339	  *=* | --config-cache | -C | -disable-* | --disable-* \
2340	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2341	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2342	  | -with-* | --with-* | -without-* | --without-* | --x)
2343	    case "$ac_configure_args0 " in
2344	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2345	    esac
2346	    ;;
2347	  -* ) ac_must_keep_next=true ;;
2348	esac
2349      fi
2350      as_fn_append ac_configure_args " '$ac_arg'"
2351      ;;
2352    esac
2353  done
2354done
2355{ ac_configure_args0=; unset ac_configure_args0;}
2356{ ac_configure_args1=; unset ac_configure_args1;}
2357
2358# When interrupted or exit'd, cleanup temporary files, and complete
2359# config.log.  We remove comments because anyway the quotes in there
2360# would cause problems or look ugly.
2361# WARNING: Use '\'' to represent an apostrophe within the trap.
2362# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2363trap 'exit_status=$?
2364  # Save into config.log some information that might help in debugging.
2365  {
2366    echo
2367
2368    $as_echo "## ---------------- ##
2369## Cache variables. ##
2370## ---------------- ##"
2371    echo
2372    # The following way of writing the cache mishandles newlines in values,
2373(
2374  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375    eval ac_val=\$$ac_var
2376    case $ac_val in #(
2377    *${as_nl}*)
2378      case $ac_var in #(
2379      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2381      esac
2382      case $ac_var in #(
2383      _ | IFS | as_nl) ;; #(
2384      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385      *) { eval $ac_var=; unset $ac_var;} ;;
2386      esac ;;
2387    esac
2388  done
2389  (set) 2>&1 |
2390    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391    *${as_nl}ac_space=\ *)
2392      sed -n \
2393	"s/'\''/'\''\\\\'\'''\''/g;
2394	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2395      ;; #(
2396    *)
2397      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2398      ;;
2399    esac |
2400    sort
2401)
2402    echo
2403
2404    $as_echo "## ----------------- ##
2405## Output variables. ##
2406## ----------------- ##"
2407    echo
2408    for ac_var in $ac_subst_vars
2409    do
2410      eval ac_val=\$$ac_var
2411      case $ac_val in
2412      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2413      esac
2414      $as_echo "$ac_var='\''$ac_val'\''"
2415    done | sort
2416    echo
2417
2418    if test -n "$ac_subst_files"; then
2419      $as_echo "## ------------------- ##
2420## File substitutions. ##
2421## ------------------- ##"
2422      echo
2423      for ac_var in $ac_subst_files
2424      do
2425	eval ac_val=\$$ac_var
2426	case $ac_val in
2427	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2428	esac
2429	$as_echo "$ac_var='\''$ac_val'\''"
2430      done | sort
2431      echo
2432    fi
2433
2434    if test -s confdefs.h; then
2435      $as_echo "## ----------- ##
2436## confdefs.h. ##
2437## ----------- ##"
2438      echo
2439      cat confdefs.h
2440      echo
2441    fi
2442    test "$ac_signal" != 0 &&
2443      $as_echo "$as_me: caught signal $ac_signal"
2444    $as_echo "$as_me: exit $exit_status"
2445  } >&5
2446  rm -f core *.core core.conftest.* &&
2447    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2448    exit $exit_status
2449' 0
2450for ac_signal in 1 2 13 15; do
2451  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2452done
2453ac_signal=0
2454
2455# confdefs.h avoids OS command line length limits that DEFS can exceed.
2456rm -f -r conftest* confdefs.h
2457
2458$as_echo "/* confdefs.h */" > confdefs.h
2459
2460# Predefined preprocessor variables.
2461
2462cat >>confdefs.h <<_ACEOF
2463#define PACKAGE_NAME "$PACKAGE_NAME"
2464_ACEOF
2465
2466cat >>confdefs.h <<_ACEOF
2467#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2468_ACEOF
2469
2470cat >>confdefs.h <<_ACEOF
2471#define PACKAGE_VERSION "$PACKAGE_VERSION"
2472_ACEOF
2473
2474cat >>confdefs.h <<_ACEOF
2475#define PACKAGE_STRING "$PACKAGE_STRING"
2476_ACEOF
2477
2478cat >>confdefs.h <<_ACEOF
2479#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2480_ACEOF
2481
2482cat >>confdefs.h <<_ACEOF
2483#define PACKAGE_URL "$PACKAGE_URL"
2484_ACEOF
2485
2486
2487# Let the site file select an alternate cache file if it wants to.
2488# Prefer an explicitly selected file to automatically selected ones.
2489ac_site_file1=NONE
2490ac_site_file2=NONE
2491if test -n "$CONFIG_SITE"; then
2492  # We do not want a PATH search for config.site.
2493  case $CONFIG_SITE in #((
2494    -*)  ac_site_file1=./$CONFIG_SITE;;
2495    */*) ac_site_file1=$CONFIG_SITE;;
2496    *)   ac_site_file1=./$CONFIG_SITE;;
2497  esac
2498elif test "x$prefix" != xNONE; then
2499  ac_site_file1=$prefix/share/config.site
2500  ac_site_file2=$prefix/etc/config.site
2501else
2502  ac_site_file1=$ac_default_prefix/share/config.site
2503  ac_site_file2=$ac_default_prefix/etc/config.site
2504fi
2505for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2506do
2507  test "x$ac_site_file" = xNONE && continue
2508  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2509    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511    sed 's/^/| /' "$ac_site_file" >&5
2512    . "$ac_site_file" \
2513      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2515as_fn_error $? "failed to load site script $ac_site_file
2516See \`config.log' for more details" "$LINENO" 5; }
2517  fi
2518done
2519
2520if test -r "$cache_file"; then
2521  # Some versions of bash will fail to source /dev/null (special files
2522  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2523  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2524    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2525$as_echo "$as_me: loading cache $cache_file" >&6;}
2526    case $cache_file in
2527      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2528      *)                      . "./$cache_file";;
2529    esac
2530  fi
2531else
2532  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2533$as_echo "$as_me: creating cache $cache_file" >&6;}
2534  >$cache_file
2535fi
2536
2537# Check that the precious variables saved in the cache have kept the same
2538# value.
2539ac_cache_corrupted=false
2540for ac_var in $ac_precious_vars; do
2541  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2542  eval ac_new_set=\$ac_env_${ac_var}_set
2543  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2544  eval ac_new_val=\$ac_env_${ac_var}_value
2545  case $ac_old_set,$ac_new_set in
2546    set,)
2547      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2548$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2549      ac_cache_corrupted=: ;;
2550    ,set)
2551      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2552$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2553      ac_cache_corrupted=: ;;
2554    ,);;
2555    *)
2556      if test "x$ac_old_val" != "x$ac_new_val"; then
2557	# differences in whitespace do not lead to failure.
2558	ac_old_val_w=`echo x $ac_old_val`
2559	ac_new_val_w=`echo x $ac_new_val`
2560	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2561	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2562$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2563	  ac_cache_corrupted=:
2564	else
2565	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2566$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2567	  eval $ac_var=\$ac_old_val
2568	fi
2569	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2570$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2571	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2572$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2573      fi;;
2574  esac
2575  # Pass precious variables to config.status.
2576  if test "$ac_new_set" = set; then
2577    case $ac_new_val in
2578    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2579    *) ac_arg=$ac_var=$ac_new_val ;;
2580    esac
2581    case " $ac_configure_args " in
2582      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2583      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2584    esac
2585  fi
2586done
2587if $ac_cache_corrupted; then
2588  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2591$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2592  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2593fi
2594## -------------------- ##
2595## Main body of script. ##
2596## -------------------- ##
2597
2598ac_ext=c
2599ac_cpp='$CPP $CPPFLAGS'
2600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2602ac_compiler_gnu=$ac_cv_c_compiler_gnu
2603
2604
2605
2606
2607ac_aux_dir=
2608for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2609  if test -f "$ac_dir/install-sh"; then
2610    ac_aux_dir=$ac_dir
2611    ac_install_sh="$ac_aux_dir/install-sh -c"
2612    break
2613  elif test -f "$ac_dir/install.sh"; then
2614    ac_aux_dir=$ac_dir
2615    ac_install_sh="$ac_aux_dir/install.sh -c"
2616    break
2617  elif test -f "$ac_dir/shtool"; then
2618    ac_aux_dir=$ac_dir
2619    ac_install_sh="$ac_aux_dir/shtool install -c"
2620    break
2621  fi
2622done
2623if test -z "$ac_aux_dir"; then
2624  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2625fi
2626
2627# These three variables are undocumented and unsupported,
2628# and are intended to be withdrawn in a future Autoconf release.
2629# They can cause serious problems if a builder's source tree is in a directory
2630# whose full name contains unusual characters.
2631ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2632ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2633ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2634
2635
2636# Make sure we can run config.sub.
2637$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2638  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2639
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2641$as_echo_n "checking build system type... " >&6; }
2642if ${ac_cv_build+:} false; then :
2643  $as_echo_n "(cached) " >&6
2644else
2645  ac_build_alias=$build_alias
2646test "x$ac_build_alias" = x &&
2647  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2648test "x$ac_build_alias" = x &&
2649  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2650ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2651  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2652
2653fi
2654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2655$as_echo "$ac_cv_build" >&6; }
2656case $ac_cv_build in
2657*-*-*) ;;
2658*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2659esac
2660build=$ac_cv_build
2661ac_save_IFS=$IFS; IFS='-'
2662set x $ac_cv_build
2663shift
2664build_cpu=$1
2665build_vendor=$2
2666shift; shift
2667# Remember, the first character of IFS is used to create $*,
2668# except with old shells:
2669build_os=$*
2670IFS=$ac_save_IFS
2671case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2672
2673
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2675$as_echo_n "checking host system type... " >&6; }
2676if ${ac_cv_host+:} false; then :
2677  $as_echo_n "(cached) " >&6
2678else
2679  if test "x$host_alias" = x; then
2680  ac_cv_host=$ac_cv_build
2681else
2682  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2683    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2684fi
2685
2686fi
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2688$as_echo "$ac_cv_host" >&6; }
2689case $ac_cv_host in
2690*-*-*) ;;
2691*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2692esac
2693host=$ac_cv_host
2694ac_save_IFS=$IFS; IFS='-'
2695set x $ac_cv_host
2696shift
2697host_cpu=$1
2698host_vendor=$2
2699shift; shift
2700# Remember, the first character of IFS is used to create $*,
2701# except with old shells:
2702host_os=$*
2703IFS=$ac_save_IFS
2704case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2705
2706
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2708$as_echo_n "checking target system type... " >&6; }
2709if ${ac_cv_target+:} false; then :
2710  $as_echo_n "(cached) " >&6
2711else
2712  if test "x$target_alias" = x; then
2713  ac_cv_target=$ac_cv_host
2714else
2715  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2716    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2717fi
2718
2719fi
2720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2721$as_echo "$ac_cv_target" >&6; }
2722case $ac_cv_target in
2723*-*-*) ;;
2724*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2725esac
2726target=$ac_cv_target
2727ac_save_IFS=$IFS; IFS='-'
2728set x $ac_cv_target
2729shift
2730target_cpu=$1
2731target_vendor=$2
2732shift; shift
2733# Remember, the first character of IFS is used to create $*,
2734# except with old shells:
2735target_os=$*
2736IFS=$ac_save_IFS
2737case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2738
2739
2740# The aliases save the names the user supplied, while $host etc.
2741# will get canonicalized.
2742test -n "$target_alias" &&
2743  test "$program_prefix$program_suffix$program_transform_name" = \
2744    NONENONEs,x,x, &&
2745  program_prefix=${target_alias}-
2746
2747
2748# Checks for programs.
2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2750$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2751set x ${MAKE-make}
2752ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2753if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2754  $as_echo_n "(cached) " >&6
2755else
2756  cat >conftest.make <<\_ACEOF
2757SHELL = /bin/sh
2758all:
2759	@echo '@@@%%%=$(MAKE)=@@@%%%'
2760_ACEOF
2761# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2762case `${MAKE-make} -f conftest.make 2>/dev/null` in
2763  *@@@%%%=?*=@@@%%%*)
2764    eval ac_cv_prog_make_${ac_make}_set=yes;;
2765  *)
2766    eval ac_cv_prog_make_${ac_make}_set=no;;
2767esac
2768rm -f conftest.make
2769fi
2770if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2772$as_echo "yes" >&6; }
2773  SET_MAKE=
2774else
2775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776$as_echo "no" >&6; }
2777  SET_MAKE="MAKE=${MAKE-make}"
2778fi
2779
2780# Find a good install program.  We prefer a C program (faster),
2781# so one script is as good as another.  But avoid the broken or
2782# incompatible versions:
2783# SysV /etc/install, /usr/sbin/install
2784# SunOS /usr/etc/install
2785# IRIX /sbin/install
2786# AIX /bin/install
2787# AmigaOS /C/install, which installs bootblocks on floppy discs
2788# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2789# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2790# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2791# OS/2's system install, which has a completely different semantic
2792# ./install, which can be erroneously created by make from ./install.sh.
2793# Reject install programs that cannot install multiple files.
2794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2795$as_echo_n "checking for a BSD-compatible install... " >&6; }
2796if test -z "$INSTALL"; then
2797if ${ac_cv_path_install+:} false; then :
2798  $as_echo_n "(cached) " >&6
2799else
2800  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801for as_dir in $PATH
2802do
2803  IFS=$as_save_IFS
2804  test -z "$as_dir" && as_dir=.
2805    # Account for people who put trailing slashes in PATH elements.
2806case $as_dir/ in #((
2807  ./ | .// | /[cC]/* | \
2808  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2809  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2810  /usr/ucb/* ) ;;
2811  *)
2812    # OSF1 and SCO ODT 3.0 have their own names for install.
2813    # Don't use installbsd from OSF since it installs stuff as root
2814    # by default.
2815    for ac_prog in ginstall scoinst install; do
2816      for ac_exec_ext in '' $ac_executable_extensions; do
2817	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2818	  if test $ac_prog = install &&
2819	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2820	    # AIX install.  It has an incompatible calling convention.
2821	    :
2822	  elif test $ac_prog = install &&
2823	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2824	    # program-specific install script used by HP pwplus--don't use.
2825	    :
2826	  else
2827	    rm -rf conftest.one conftest.two conftest.dir
2828	    echo one > conftest.one
2829	    echo two > conftest.two
2830	    mkdir conftest.dir
2831	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2832	      test -s conftest.one && test -s conftest.two &&
2833	      test -s conftest.dir/conftest.one &&
2834	      test -s conftest.dir/conftest.two
2835	    then
2836	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2837	      break 3
2838	    fi
2839	  fi
2840	fi
2841      done
2842    done
2843    ;;
2844esac
2845
2846  done
2847IFS=$as_save_IFS
2848
2849rm -rf conftest.one conftest.two conftest.dir
2850
2851fi
2852  if test "${ac_cv_path_install+set}" = set; then
2853    INSTALL=$ac_cv_path_install
2854  else
2855    # As a last resort, use the slow shell script.  Don't cache a
2856    # value for INSTALL within a source directory, because that will
2857    # break other packages using the cache if that directory is
2858    # removed, or if the value is a relative name.
2859    INSTALL=$ac_install_sh
2860  fi
2861fi
2862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2863$as_echo "$INSTALL" >&6; }
2864
2865# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2866# It thinks the first close brace ends the variable substitution.
2867test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2868
2869test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2870
2871test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2872
2873ac_ext=c
2874ac_cpp='$CPP $CPPFLAGS'
2875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877ac_compiler_gnu=$ac_cv_c_compiler_gnu
2878if test -n "$ac_tool_prefix"; then
2879  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2880set dummy ${ac_tool_prefix}gcc; ac_word=$2
2881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882$as_echo_n "checking for $ac_word... " >&6; }
2883if ${ac_cv_prog_CC+:} false; then :
2884  $as_echo_n "(cached) " >&6
2885else
2886  if test -n "$CC"; then
2887  ac_cv_prog_CC="$CC" # Let the user override the test.
2888else
2889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890for as_dir in $PATH
2891do
2892  IFS=$as_save_IFS
2893  test -z "$as_dir" && as_dir=.
2894    for ac_exec_ext in '' $ac_executable_extensions; do
2895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898    break 2
2899  fi
2900done
2901  done
2902IFS=$as_save_IFS
2903
2904fi
2905fi
2906CC=$ac_cv_prog_CC
2907if test -n "$CC"; then
2908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909$as_echo "$CC" >&6; }
2910else
2911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912$as_echo "no" >&6; }
2913fi
2914
2915
2916fi
2917if test -z "$ac_cv_prog_CC"; then
2918  ac_ct_CC=$CC
2919  # Extract the first word of "gcc", so it can be a program name with args.
2920set dummy gcc; ac_word=$2
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922$as_echo_n "checking for $ac_word... " >&6; }
2923if ${ac_cv_prog_ac_ct_CC+:} false; then :
2924  $as_echo_n "(cached) " >&6
2925else
2926  if test -n "$ac_ct_CC"; then
2927  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2928else
2929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930for as_dir in $PATH
2931do
2932  IFS=$as_save_IFS
2933  test -z "$as_dir" && as_dir=.
2934    for ac_exec_ext in '' $ac_executable_extensions; do
2935  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2936    ac_cv_prog_ac_ct_CC="gcc"
2937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938    break 2
2939  fi
2940done
2941  done
2942IFS=$as_save_IFS
2943
2944fi
2945fi
2946ac_ct_CC=$ac_cv_prog_ac_ct_CC
2947if test -n "$ac_ct_CC"; then
2948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2949$as_echo "$ac_ct_CC" >&6; }
2950else
2951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952$as_echo "no" >&6; }
2953fi
2954
2955  if test "x$ac_ct_CC" = x; then
2956    CC=""
2957  else
2958    case $cross_compiling:$ac_tool_warned in
2959yes:)
2960{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2962ac_tool_warned=yes ;;
2963esac
2964    CC=$ac_ct_CC
2965  fi
2966else
2967  CC="$ac_cv_prog_CC"
2968fi
2969
2970if test -z "$CC"; then
2971          if test -n "$ac_tool_prefix"; then
2972    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2973set dummy ${ac_tool_prefix}cc; ac_word=$2
2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975$as_echo_n "checking for $ac_word... " >&6; }
2976if ${ac_cv_prog_CC+:} false; then :
2977  $as_echo_n "(cached) " >&6
2978else
2979  if test -n "$CC"; then
2980  ac_cv_prog_CC="$CC" # Let the user override the test.
2981else
2982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983for as_dir in $PATH
2984do
2985  IFS=$as_save_IFS
2986  test -z "$as_dir" && as_dir=.
2987    for ac_exec_ext in '' $ac_executable_extensions; do
2988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989    ac_cv_prog_CC="${ac_tool_prefix}cc"
2990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991    break 2
2992  fi
2993done
2994  done
2995IFS=$as_save_IFS
2996
2997fi
2998fi
2999CC=$ac_cv_prog_CC
3000if test -n "$CC"; then
3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3002$as_echo "$CC" >&6; }
3003else
3004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005$as_echo "no" >&6; }
3006fi
3007
3008
3009  fi
3010fi
3011if test -z "$CC"; then
3012  # Extract the first word of "cc", so it can be a program name with args.
3013set dummy cc; ac_word=$2
3014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015$as_echo_n "checking for $ac_word... " >&6; }
3016if ${ac_cv_prog_CC+:} false; then :
3017  $as_echo_n "(cached) " >&6
3018else
3019  if test -n "$CC"; then
3020  ac_cv_prog_CC="$CC" # Let the user override the test.
3021else
3022  ac_prog_rejected=no
3023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024for as_dir in $PATH
3025do
3026  IFS=$as_save_IFS
3027  test -z "$as_dir" && as_dir=.
3028    for ac_exec_ext in '' $ac_executable_extensions; do
3029  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3031       ac_prog_rejected=yes
3032       continue
3033     fi
3034    ac_cv_prog_CC="cc"
3035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036    break 2
3037  fi
3038done
3039  done
3040IFS=$as_save_IFS
3041
3042if test $ac_prog_rejected = yes; then
3043  # We found a bogon in the path, so make sure we never use it.
3044  set dummy $ac_cv_prog_CC
3045  shift
3046  if test $# != 0; then
3047    # We chose a different compiler from the bogus one.
3048    # However, it has the same basename, so the bogon will be chosen
3049    # first if we set CC to just the basename; use the full file name.
3050    shift
3051    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3052  fi
3053fi
3054fi
3055fi
3056CC=$ac_cv_prog_CC
3057if test -n "$CC"; then
3058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059$as_echo "$CC" >&6; }
3060else
3061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062$as_echo "no" >&6; }
3063fi
3064
3065
3066fi
3067if test -z "$CC"; then
3068  if test -n "$ac_tool_prefix"; then
3069  for ac_prog in cl.exe
3070  do
3071    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3072set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074$as_echo_n "checking for $ac_word... " >&6; }
3075if ${ac_cv_prog_CC+:} false; then :
3076  $as_echo_n "(cached) " >&6
3077else
3078  if test -n "$CC"; then
3079  ac_cv_prog_CC="$CC" # Let the user override the test.
3080else
3081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082for as_dir in $PATH
3083do
3084  IFS=$as_save_IFS
3085  test -z "$as_dir" && as_dir=.
3086    for ac_exec_ext in '' $ac_executable_extensions; do
3087  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3089    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090    break 2
3091  fi
3092done
3093  done
3094IFS=$as_save_IFS
3095
3096fi
3097fi
3098CC=$ac_cv_prog_CC
3099if test -n "$CC"; then
3100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101$as_echo "$CC" >&6; }
3102else
3103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104$as_echo "no" >&6; }
3105fi
3106
3107
3108    test -n "$CC" && break
3109  done
3110fi
3111if test -z "$CC"; then
3112  ac_ct_CC=$CC
3113  for ac_prog in cl.exe
3114do
3115  # Extract the first word of "$ac_prog", so it can be a program name with args.
3116set dummy $ac_prog; ac_word=$2
3117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118$as_echo_n "checking for $ac_word... " >&6; }
3119if ${ac_cv_prog_ac_ct_CC+:} false; then :
3120  $as_echo_n "(cached) " >&6
3121else
3122  if test -n "$ac_ct_CC"; then
3123  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3124else
3125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126for as_dir in $PATH
3127do
3128  IFS=$as_save_IFS
3129  test -z "$as_dir" && as_dir=.
3130    for ac_exec_ext in '' $ac_executable_extensions; do
3131  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132    ac_cv_prog_ac_ct_CC="$ac_prog"
3133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134    break 2
3135  fi
3136done
3137  done
3138IFS=$as_save_IFS
3139
3140fi
3141fi
3142ac_ct_CC=$ac_cv_prog_ac_ct_CC
3143if test -n "$ac_ct_CC"; then
3144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3145$as_echo "$ac_ct_CC" >&6; }
3146else
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148$as_echo "no" >&6; }
3149fi
3150
3151
3152  test -n "$ac_ct_CC" && break
3153done
3154
3155  if test "x$ac_ct_CC" = x; then
3156    CC=""
3157  else
3158    case $cross_compiling:$ac_tool_warned in
3159yes:)
3160{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3161$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3162ac_tool_warned=yes ;;
3163esac
3164    CC=$ac_ct_CC
3165  fi
3166fi
3167
3168fi
3169
3170
3171test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173as_fn_error $? "no acceptable C compiler found in \$PATH
3174See \`config.log' for more details" "$LINENO" 5; }
3175
3176# Provide some information about the compiler.
3177$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3178set X $ac_compile
3179ac_compiler=$2
3180for ac_option in --version -v -V -qversion; do
3181  { { ac_try="$ac_compiler $ac_option >&5"
3182case "(($ac_try" in
3183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184  *) ac_try_echo=$ac_try;;
3185esac
3186eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187$as_echo "$ac_try_echo"; } >&5
3188  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3189  ac_status=$?
3190  if test -s conftest.err; then
3191    sed '10a\
3192... rest of stderr output deleted ...
3193         10q' conftest.err >conftest.er1
3194    cat conftest.er1 >&5
3195  fi
3196  rm -f conftest.er1 conftest.err
3197  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198  test $ac_status = 0; }
3199done
3200
3201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202/* end confdefs.h.  */
3203
3204int
3205main ()
3206{
3207
3208  ;
3209  return 0;
3210}
3211_ACEOF
3212ac_clean_files_save=$ac_clean_files
3213ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3214# Try to create an executable without -o first, disregard a.out.
3215# It will help us diagnose broken compilers, and finding out an intuition
3216# of exeext.
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3218$as_echo_n "checking whether the C compiler works... " >&6; }
3219ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3220
3221# The possible output files:
3222ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3223
3224ac_rmfiles=
3225for ac_file in $ac_files
3226do
3227  case $ac_file in
3228    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3229    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3230  esac
3231done
3232rm -f $ac_rmfiles
3233
3234if { { ac_try="$ac_link_default"
3235case "(($ac_try" in
3236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237  *) ac_try_echo=$ac_try;;
3238esac
3239eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240$as_echo "$ac_try_echo"; } >&5
3241  (eval "$ac_link_default") 2>&5
3242  ac_status=$?
3243  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244  test $ac_status = 0; }; then :
3245  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3246# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3247# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3248# so that the user can short-circuit this test for compilers unknown to
3249# Autoconf.
3250for ac_file in $ac_files ''
3251do
3252  test -f "$ac_file" || continue
3253  case $ac_file in
3254    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3255	;;
3256    [ab].out )
3257	# We found the default executable, but exeext='' is most
3258	# certainly right.
3259	break;;
3260    *.* )
3261	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3262	then :; else
3263	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3264	fi
3265	# We set ac_cv_exeext here because the later test for it is not
3266	# safe: cross compilers may not add the suffix if given an `-o'
3267	# argument, so we may need to know it at that point already.
3268	# Even if this section looks crufty: it has the advantage of
3269	# actually working.
3270	break;;
3271    * )
3272	break;;
3273  esac
3274done
3275test "$ac_cv_exeext" = no && ac_cv_exeext=
3276
3277else
3278  ac_file=''
3279fi
3280if test -z "$ac_file"; then :
3281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282$as_echo "no" >&6; }
3283$as_echo "$as_me: failed program was:" >&5
3284sed 's/^/| /' conftest.$ac_ext >&5
3285
3286{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3287$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288as_fn_error 77 "C compiler cannot create executables
3289See \`config.log' for more details" "$LINENO" 5; }
3290else
3291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292$as_echo "yes" >&6; }
3293fi
3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3295$as_echo_n "checking for C compiler default output file name... " >&6; }
3296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3297$as_echo "$ac_file" >&6; }
3298ac_exeext=$ac_cv_exeext
3299
3300rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3301ac_clean_files=$ac_clean_files_save
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3303$as_echo_n "checking for suffix of executables... " >&6; }
3304if { { ac_try="$ac_link"
3305case "(($ac_try" in
3306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307  *) ac_try_echo=$ac_try;;
3308esac
3309eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310$as_echo "$ac_try_echo"; } >&5
3311  (eval "$ac_link") 2>&5
3312  ac_status=$?
3313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314  test $ac_status = 0; }; then :
3315  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3316# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3317# work properly (i.e., refer to `conftest.exe'), while it won't with
3318# `rm'.
3319for ac_file in conftest.exe conftest conftest.*; do
3320  test -f "$ac_file" || continue
3321  case $ac_file in
3322    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3323    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3324	  break;;
3325    * ) break;;
3326  esac
3327done
3328else
3329  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3330$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3331as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3332See \`config.log' for more details" "$LINENO" 5; }
3333fi
3334rm -f conftest conftest$ac_cv_exeext
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3336$as_echo "$ac_cv_exeext" >&6; }
3337
3338rm -f conftest.$ac_ext
3339EXEEXT=$ac_cv_exeext
3340ac_exeext=$EXEEXT
3341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342/* end confdefs.h.  */
3343#include <stdio.h>
3344int
3345main ()
3346{
3347FILE *f = fopen ("conftest.out", "w");
3348 return ferror (f) || fclose (f) != 0;
3349
3350  ;
3351  return 0;
3352}
3353_ACEOF
3354ac_clean_files="$ac_clean_files conftest.out"
3355# Check that the compiler produces executables we can run.  If not, either
3356# the compiler is broken, or we cross compile.
3357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3358$as_echo_n "checking whether we are cross compiling... " >&6; }
3359if test "$cross_compiling" != yes; then
3360  { { ac_try="$ac_link"
3361case "(($ac_try" in
3362  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3363  *) ac_try_echo=$ac_try;;
3364esac
3365eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366$as_echo "$ac_try_echo"; } >&5
3367  (eval "$ac_link") 2>&5
3368  ac_status=$?
3369  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370  test $ac_status = 0; }
3371  if { ac_try='./conftest$ac_cv_exeext'
3372  { { case "(($ac_try" in
3373  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374  *) ac_try_echo=$ac_try;;
3375esac
3376eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377$as_echo "$ac_try_echo"; } >&5
3378  (eval "$ac_try") 2>&5
3379  ac_status=$?
3380  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381  test $ac_status = 0; }; }; then
3382    cross_compiling=no
3383  else
3384    if test "$cross_compiling" = maybe; then
3385	cross_compiling=yes
3386    else
3387	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389as_fn_error $? "cannot run C compiled programs.
3390If you meant to cross compile, use \`--host'.
3391See \`config.log' for more details" "$LINENO" 5; }
3392    fi
3393  fi
3394fi
3395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3396$as_echo "$cross_compiling" >&6; }
3397
3398rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3399ac_clean_files=$ac_clean_files_save
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3401$as_echo_n "checking for suffix of object files... " >&6; }
3402if ${ac_cv_objext+:} false; then :
3403  $as_echo_n "(cached) " >&6
3404else
3405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406/* end confdefs.h.  */
3407
3408int
3409main ()
3410{
3411
3412  ;
3413  return 0;
3414}
3415_ACEOF
3416rm -f conftest.o conftest.obj
3417if { { ac_try="$ac_compile"
3418case "(($ac_try" in
3419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420  *) ac_try_echo=$ac_try;;
3421esac
3422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423$as_echo "$ac_try_echo"; } >&5
3424  (eval "$ac_compile") 2>&5
3425  ac_status=$?
3426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427  test $ac_status = 0; }; then :
3428  for ac_file in conftest.o conftest.obj conftest.*; do
3429  test -f "$ac_file" || continue;
3430  case $ac_file in
3431    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3432    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3433       break;;
3434  esac
3435done
3436else
3437  $as_echo "$as_me: failed program was:" >&5
3438sed 's/^/| /' conftest.$ac_ext >&5
3439
3440{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442as_fn_error $? "cannot compute suffix of object files: cannot compile
3443See \`config.log' for more details" "$LINENO" 5; }
3444fi
3445rm -f conftest.$ac_cv_objext conftest.$ac_ext
3446fi
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3448$as_echo "$ac_cv_objext" >&6; }
3449OBJEXT=$ac_cv_objext
3450ac_objext=$OBJEXT
3451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3452$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3453if ${ac_cv_c_compiler_gnu+:} false; then :
3454  $as_echo_n "(cached) " >&6
3455else
3456  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457/* end confdefs.h.  */
3458
3459int
3460main ()
3461{
3462#ifndef __GNUC__
3463       choke me
3464#endif
3465
3466  ;
3467  return 0;
3468}
3469_ACEOF
3470if ac_fn_c_try_compile "$LINENO"; then :
3471  ac_compiler_gnu=yes
3472else
3473  ac_compiler_gnu=no
3474fi
3475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476ac_cv_c_compiler_gnu=$ac_compiler_gnu
3477
3478fi
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3480$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3481if test $ac_compiler_gnu = yes; then
3482  GCC=yes
3483else
3484  GCC=
3485fi
3486ac_test_CFLAGS=${CFLAGS+set}
3487ac_save_CFLAGS=$CFLAGS
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3489$as_echo_n "checking whether $CC accepts -g... " >&6; }
3490if ${ac_cv_prog_cc_g+:} false; then :
3491  $as_echo_n "(cached) " >&6
3492else
3493  ac_save_c_werror_flag=$ac_c_werror_flag
3494   ac_c_werror_flag=yes
3495   ac_cv_prog_cc_g=no
3496   CFLAGS="-g"
3497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498/* end confdefs.h.  */
3499
3500int
3501main ()
3502{
3503
3504  ;
3505  return 0;
3506}
3507_ACEOF
3508if ac_fn_c_try_compile "$LINENO"; then :
3509  ac_cv_prog_cc_g=yes
3510else
3511  CFLAGS=""
3512      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513/* end confdefs.h.  */
3514
3515int
3516main ()
3517{
3518
3519  ;
3520  return 0;
3521}
3522_ACEOF
3523if ac_fn_c_try_compile "$LINENO"; then :
3524
3525else
3526  ac_c_werror_flag=$ac_save_c_werror_flag
3527	 CFLAGS="-g"
3528	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529/* end confdefs.h.  */
3530
3531int
3532main ()
3533{
3534
3535  ;
3536  return 0;
3537}
3538_ACEOF
3539if ac_fn_c_try_compile "$LINENO"; then :
3540  ac_cv_prog_cc_g=yes
3541fi
3542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543fi
3544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545fi
3546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547   ac_c_werror_flag=$ac_save_c_werror_flag
3548fi
3549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3550$as_echo "$ac_cv_prog_cc_g" >&6; }
3551if test "$ac_test_CFLAGS" = set; then
3552  CFLAGS=$ac_save_CFLAGS
3553elif test $ac_cv_prog_cc_g = yes; then
3554  if test "$GCC" = yes; then
3555    CFLAGS="-g -O2"
3556  else
3557    CFLAGS="-g"
3558  fi
3559else
3560  if test "$GCC" = yes; then
3561    CFLAGS="-O2"
3562  else
3563    CFLAGS=
3564  fi
3565fi
3566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3567$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3568if ${ac_cv_prog_cc_c89+:} false; then :
3569  $as_echo_n "(cached) " >&6
3570else
3571  ac_cv_prog_cc_c89=no
3572ac_save_CC=$CC
3573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574/* end confdefs.h.  */
3575#include <stdarg.h>
3576#include <stdio.h>
3577struct stat;
3578/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3579struct buf { int x; };
3580FILE * (*rcsopen) (struct buf *, struct stat *, int);
3581static char *e (p, i)
3582     char **p;
3583     int i;
3584{
3585  return p[i];
3586}
3587static char *f (char * (*g) (char **, int), char **p, ...)
3588{
3589  char *s;
3590  va_list v;
3591  va_start (v,p);
3592  s = g (p, va_arg (v,int));
3593  va_end (v);
3594  return s;
3595}
3596
3597/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3598   function prototypes and stuff, but not '\xHH' hex character constants.
3599   These don't provoke an error unfortunately, instead are silently treated
3600   as 'x'.  The following induces an error, until -std is added to get
3601   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3602   array size at least.  It's necessary to write '\x00'==0 to get something
3603   that's true only with -std.  */
3604int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3605
3606/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3607   inside strings and character constants.  */
3608#define FOO(x) 'x'
3609int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3610
3611int test (int i, double x);
3612struct s1 {int (*f) (int a);};
3613struct s2 {int (*f) (double a);};
3614int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3615int argc;
3616char **argv;
3617int
3618main ()
3619{
3620return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3621  ;
3622  return 0;
3623}
3624_ACEOF
3625for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3626	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3627do
3628  CC="$ac_save_CC $ac_arg"
3629  if ac_fn_c_try_compile "$LINENO"; then :
3630  ac_cv_prog_cc_c89=$ac_arg
3631fi
3632rm -f core conftest.err conftest.$ac_objext
3633  test "x$ac_cv_prog_cc_c89" != "xno" && break
3634done
3635rm -f conftest.$ac_ext
3636CC=$ac_save_CC
3637
3638fi
3639# AC_CACHE_VAL
3640case "x$ac_cv_prog_cc_c89" in
3641  x)
3642    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3643$as_echo "none needed" >&6; } ;;
3644  xno)
3645    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3646$as_echo "unsupported" >&6; } ;;
3647  *)
3648    CC="$CC $ac_cv_prog_cc_c89"
3649    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3650$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3651esac
3652if test "x$ac_cv_prog_cc_c89" != xno; then :
3653
3654fi
3655
3656ac_ext=c
3657ac_cpp='$CPP $CPPFLAGS'
3658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3660ac_compiler_gnu=$ac_cv_c_compiler_gnu
3661
3662ac_ext=cpp
3663ac_cpp='$CXXCPP $CPPFLAGS'
3664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3667if test -z "$CXX"; then
3668  if test -n "$CCC"; then
3669    CXX=$CCC
3670  else
3671    if test -n "$ac_tool_prefix"; then
3672  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3673  do
3674    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3675set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677$as_echo_n "checking for $ac_word... " >&6; }
3678if ${ac_cv_prog_CXX+:} false; then :
3679  $as_echo_n "(cached) " >&6
3680else
3681  if test -n "$CXX"; then
3682  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3683else
3684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685for as_dir in $PATH
3686do
3687  IFS=$as_save_IFS
3688  test -z "$as_dir" && as_dir=.
3689    for ac_exec_ext in '' $ac_executable_extensions; do
3690  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3692    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693    break 2
3694  fi
3695done
3696  done
3697IFS=$as_save_IFS
3698
3699fi
3700fi
3701CXX=$ac_cv_prog_CXX
3702if test -n "$CXX"; then
3703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3704$as_echo "$CXX" >&6; }
3705else
3706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707$as_echo "no" >&6; }
3708fi
3709
3710
3711    test -n "$CXX" && break
3712  done
3713fi
3714if test -z "$CXX"; then
3715  ac_ct_CXX=$CXX
3716  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3717do
3718  # Extract the first word of "$ac_prog", so it can be a program name with args.
3719set dummy $ac_prog; ac_word=$2
3720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721$as_echo_n "checking for $ac_word... " >&6; }
3722if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3723  $as_echo_n "(cached) " >&6
3724else
3725  if test -n "$ac_ct_CXX"; then
3726  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3727else
3728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729for as_dir in $PATH
3730do
3731  IFS=$as_save_IFS
3732  test -z "$as_dir" && as_dir=.
3733    for ac_exec_ext in '' $ac_executable_extensions; do
3734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3735    ac_cv_prog_ac_ct_CXX="$ac_prog"
3736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737    break 2
3738  fi
3739done
3740  done
3741IFS=$as_save_IFS
3742
3743fi
3744fi
3745ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3746if test -n "$ac_ct_CXX"; then
3747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3748$as_echo "$ac_ct_CXX" >&6; }
3749else
3750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751$as_echo "no" >&6; }
3752fi
3753
3754
3755  test -n "$ac_ct_CXX" && break
3756done
3757
3758  if test "x$ac_ct_CXX" = x; then
3759    CXX="g++"
3760  else
3761    case $cross_compiling:$ac_tool_warned in
3762yes:)
3763{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3764$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3765ac_tool_warned=yes ;;
3766esac
3767    CXX=$ac_ct_CXX
3768  fi
3769fi
3770
3771  fi
3772fi
3773# Provide some information about the compiler.
3774$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3775set X $ac_compile
3776ac_compiler=$2
3777for ac_option in --version -v -V -qversion; do
3778  { { ac_try="$ac_compiler $ac_option >&5"
3779case "(($ac_try" in
3780  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781  *) ac_try_echo=$ac_try;;
3782esac
3783eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784$as_echo "$ac_try_echo"; } >&5
3785  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3786  ac_status=$?
3787  if test -s conftest.err; then
3788    sed '10a\
3789... rest of stderr output deleted ...
3790         10q' conftest.err >conftest.er1
3791    cat conftest.er1 >&5
3792  fi
3793  rm -f conftest.er1 conftest.err
3794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795  test $ac_status = 0; }
3796done
3797
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3799$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3800if ${ac_cv_cxx_compiler_gnu+:} false; then :
3801  $as_echo_n "(cached) " >&6
3802else
3803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804/* end confdefs.h.  */
3805
3806int
3807main ()
3808{
3809#ifndef __GNUC__
3810       choke me
3811#endif
3812
3813  ;
3814  return 0;
3815}
3816_ACEOF
3817if ac_fn_cxx_try_compile "$LINENO"; then :
3818  ac_compiler_gnu=yes
3819else
3820  ac_compiler_gnu=no
3821fi
3822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3824
3825fi
3826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3827$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3828if test $ac_compiler_gnu = yes; then
3829  GXX=yes
3830else
3831  GXX=
3832fi
3833ac_test_CXXFLAGS=${CXXFLAGS+set}
3834ac_save_CXXFLAGS=$CXXFLAGS
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3836$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3837if ${ac_cv_prog_cxx_g+:} false; then :
3838  $as_echo_n "(cached) " >&6
3839else
3840  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3841   ac_cxx_werror_flag=yes
3842   ac_cv_prog_cxx_g=no
3843   CXXFLAGS="-g"
3844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845/* end confdefs.h.  */
3846
3847int
3848main ()
3849{
3850
3851  ;
3852  return 0;
3853}
3854_ACEOF
3855if ac_fn_cxx_try_compile "$LINENO"; then :
3856  ac_cv_prog_cxx_g=yes
3857else
3858  CXXFLAGS=""
3859      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860/* end confdefs.h.  */
3861
3862int
3863main ()
3864{
3865
3866  ;
3867  return 0;
3868}
3869_ACEOF
3870if ac_fn_cxx_try_compile "$LINENO"; then :
3871
3872else
3873  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3874	 CXXFLAGS="-g"
3875	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876/* end confdefs.h.  */
3877
3878int
3879main ()
3880{
3881
3882  ;
3883  return 0;
3884}
3885_ACEOF
3886if ac_fn_cxx_try_compile "$LINENO"; then :
3887  ac_cv_prog_cxx_g=yes
3888fi
3889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890fi
3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892fi
3893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3895fi
3896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3897$as_echo "$ac_cv_prog_cxx_g" >&6; }
3898if test "$ac_test_CXXFLAGS" = set; then
3899  CXXFLAGS=$ac_save_CXXFLAGS
3900elif test $ac_cv_prog_cxx_g = yes; then
3901  if test "$GXX" = yes; then
3902    CXXFLAGS="-g -O2"
3903  else
3904    CXXFLAGS="-g"
3905  fi
3906else
3907  if test "$GXX" = yes; then
3908    CXXFLAGS="-O2"
3909  else
3910    CXXFLAGS=
3911  fi
3912fi
3913ac_ext=c
3914ac_cpp='$CPP $CPPFLAGS'
3915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918
3919if test -n "$ac_tool_prefix"; then
3920  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3921set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923$as_echo_n "checking for $ac_word... " >&6; }
3924if ${ac_cv_prog_RANLIB+:} false; then :
3925  $as_echo_n "(cached) " >&6
3926else
3927  if test -n "$RANLIB"; then
3928  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3929else
3930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931for as_dir in $PATH
3932do
3933  IFS=$as_save_IFS
3934  test -z "$as_dir" && as_dir=.
3935    for ac_exec_ext in '' $ac_executable_extensions; do
3936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939    break 2
3940  fi
3941done
3942  done
3943IFS=$as_save_IFS
3944
3945fi
3946fi
3947RANLIB=$ac_cv_prog_RANLIB
3948if test -n "$RANLIB"; then
3949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3950$as_echo "$RANLIB" >&6; }
3951else
3952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953$as_echo "no" >&6; }
3954fi
3955
3956
3957fi
3958if test -z "$ac_cv_prog_RANLIB"; then
3959  ac_ct_RANLIB=$RANLIB
3960  # Extract the first word of "ranlib", so it can be a program name with args.
3961set dummy ranlib; ac_word=$2
3962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963$as_echo_n "checking for $ac_word... " >&6; }
3964if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3965  $as_echo_n "(cached) " >&6
3966else
3967  if test -n "$ac_ct_RANLIB"; then
3968  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3969else
3970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971for as_dir in $PATH
3972do
3973  IFS=$as_save_IFS
3974  test -z "$as_dir" && as_dir=.
3975    for ac_exec_ext in '' $ac_executable_extensions; do
3976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977    ac_cv_prog_ac_ct_RANLIB="ranlib"
3978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979    break 2
3980  fi
3981done
3982  done
3983IFS=$as_save_IFS
3984
3985fi
3986fi
3987ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3988if test -n "$ac_ct_RANLIB"; then
3989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3990$as_echo "$ac_ct_RANLIB" >&6; }
3991else
3992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993$as_echo "no" >&6; }
3994fi
3995
3996  if test "x$ac_ct_RANLIB" = x; then
3997    RANLIB=":"
3998  else
3999    case $cross_compiling:$ac_tool_warned in
4000yes:)
4001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4003ac_tool_warned=yes ;;
4004esac
4005    RANLIB=$ac_ct_RANLIB
4006  fi
4007else
4008  RANLIB="$ac_cv_prog_RANLIB"
4009fi
4010
4011
4012
4013ac_ext=c
4014ac_cpp='$CPP $CPPFLAGS'
4015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4019$as_echo_n "checking how to run the C preprocessor... " >&6; }
4020# On Suns, sometimes $CPP names a directory.
4021if test -n "$CPP" && test -d "$CPP"; then
4022  CPP=
4023fi
4024if test -z "$CPP"; then
4025  if ${ac_cv_prog_CPP+:} false; then :
4026  $as_echo_n "(cached) " >&6
4027else
4028      # Double quotes because CPP needs to be expanded
4029    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4030    do
4031      ac_preproc_ok=false
4032for ac_c_preproc_warn_flag in '' yes
4033do
4034  # Use a header file that comes with gcc, so configuring glibc
4035  # with a fresh cross-compiler works.
4036  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4037  # <limits.h> exists even on freestanding compilers.
4038  # On the NeXT, cc -E runs the code through the compiler's parser,
4039  # not just through cpp. "Syntax error" is here to catch this case.
4040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041/* end confdefs.h.  */
4042#ifdef __STDC__
4043# include <limits.h>
4044#else
4045# include <assert.h>
4046#endif
4047		     Syntax error
4048_ACEOF
4049if ac_fn_c_try_cpp "$LINENO"; then :
4050
4051else
4052  # Broken: fails on valid input.
4053continue
4054fi
4055rm -f conftest.err conftest.i conftest.$ac_ext
4056
4057  # OK, works on sane cases.  Now check whether nonexistent headers
4058  # can be detected and how.
4059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060/* end confdefs.h.  */
4061#include <ac_nonexistent.h>
4062_ACEOF
4063if ac_fn_c_try_cpp "$LINENO"; then :
4064  # Broken: success on invalid input.
4065continue
4066else
4067  # Passes both tests.
4068ac_preproc_ok=:
4069break
4070fi
4071rm -f conftest.err conftest.i conftest.$ac_ext
4072
4073done
4074# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4075rm -f conftest.i conftest.err conftest.$ac_ext
4076if $ac_preproc_ok; then :
4077  break
4078fi
4079
4080    done
4081    ac_cv_prog_CPP=$CPP
4082
4083fi
4084  CPP=$ac_cv_prog_CPP
4085else
4086  ac_cv_prog_CPP=$CPP
4087fi
4088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4089$as_echo "$CPP" >&6; }
4090ac_preproc_ok=false
4091for ac_c_preproc_warn_flag in '' yes
4092do
4093  # Use a header file that comes with gcc, so configuring glibc
4094  # with a fresh cross-compiler works.
4095  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4096  # <limits.h> exists even on freestanding compilers.
4097  # On the NeXT, cc -E runs the code through the compiler's parser,
4098  # not just through cpp. "Syntax error" is here to catch this case.
4099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100/* end confdefs.h.  */
4101#ifdef __STDC__
4102# include <limits.h>
4103#else
4104# include <assert.h>
4105#endif
4106		     Syntax error
4107_ACEOF
4108if ac_fn_c_try_cpp "$LINENO"; then :
4109
4110else
4111  # Broken: fails on valid input.
4112continue
4113fi
4114rm -f conftest.err conftest.i conftest.$ac_ext
4115
4116  # OK, works on sane cases.  Now check whether nonexistent headers
4117  # can be detected and how.
4118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119/* end confdefs.h.  */
4120#include <ac_nonexistent.h>
4121_ACEOF
4122if ac_fn_c_try_cpp "$LINENO"; then :
4123  # Broken: success on invalid input.
4124continue
4125else
4126  # Passes both tests.
4127ac_preproc_ok=:
4128break
4129fi
4130rm -f conftest.err conftest.i conftest.$ac_ext
4131
4132done
4133# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4134rm -f conftest.i conftest.err conftest.$ac_ext
4135if $ac_preproc_ok; then :
4136
4137else
4138  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4141See \`config.log' for more details" "$LINENO" 5; }
4142fi
4143
4144ac_ext=c
4145ac_cpp='$CPP $CPPFLAGS'
4146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4148ac_compiler_gnu=$ac_cv_c_compiler_gnu
4149
4150
4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4152$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4153if ${ac_cv_path_GREP+:} false; then :
4154  $as_echo_n "(cached) " >&6
4155else
4156  if test -z "$GREP"; then
4157  ac_path_GREP_found=false
4158  # Loop through the user's path and test for each of PROGNAME-LIST
4159  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4161do
4162  IFS=$as_save_IFS
4163  test -z "$as_dir" && as_dir=.
4164    for ac_prog in grep ggrep; do
4165    for ac_exec_ext in '' $ac_executable_extensions; do
4166      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4167      as_fn_executable_p "$ac_path_GREP" || continue
4168# Check for GNU ac_path_GREP and select it if it is found.
4169  # Check for GNU $ac_path_GREP
4170case `"$ac_path_GREP" --version 2>&1` in
4171*GNU*)
4172  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4173*)
4174  ac_count=0
4175  $as_echo_n 0123456789 >"conftest.in"
4176  while :
4177  do
4178    cat "conftest.in" "conftest.in" >"conftest.tmp"
4179    mv "conftest.tmp" "conftest.in"
4180    cp "conftest.in" "conftest.nl"
4181    $as_echo 'GREP' >> "conftest.nl"
4182    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4183    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4184    as_fn_arith $ac_count + 1 && ac_count=$as_val
4185    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4186      # Best one so far, save it but keep looking for a better one
4187      ac_cv_path_GREP="$ac_path_GREP"
4188      ac_path_GREP_max=$ac_count
4189    fi
4190    # 10*(2^10) chars as input seems more than enough
4191    test $ac_count -gt 10 && break
4192  done
4193  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4194esac
4195
4196      $ac_path_GREP_found && break 3
4197    done
4198  done
4199  done
4200IFS=$as_save_IFS
4201  if test -z "$ac_cv_path_GREP"; then
4202    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4203  fi
4204else
4205  ac_cv_path_GREP=$GREP
4206fi
4207
4208fi
4209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4210$as_echo "$ac_cv_path_GREP" >&6; }
4211 GREP="$ac_cv_path_GREP"
4212
4213
4214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4215$as_echo_n "checking for egrep... " >&6; }
4216if ${ac_cv_path_EGREP+:} false; then :
4217  $as_echo_n "(cached) " >&6
4218else
4219  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4220   then ac_cv_path_EGREP="$GREP -E"
4221   else
4222     if test -z "$EGREP"; then
4223  ac_path_EGREP_found=false
4224  # Loop through the user's path and test for each of PROGNAME-LIST
4225  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4227do
4228  IFS=$as_save_IFS
4229  test -z "$as_dir" && as_dir=.
4230    for ac_prog in egrep; do
4231    for ac_exec_ext in '' $ac_executable_extensions; do
4232      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4233      as_fn_executable_p "$ac_path_EGREP" || continue
4234# Check for GNU ac_path_EGREP and select it if it is found.
4235  # Check for GNU $ac_path_EGREP
4236case `"$ac_path_EGREP" --version 2>&1` in
4237*GNU*)
4238  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4239*)
4240  ac_count=0
4241  $as_echo_n 0123456789 >"conftest.in"
4242  while :
4243  do
4244    cat "conftest.in" "conftest.in" >"conftest.tmp"
4245    mv "conftest.tmp" "conftest.in"
4246    cp "conftest.in" "conftest.nl"
4247    $as_echo 'EGREP' >> "conftest.nl"
4248    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4249    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4250    as_fn_arith $ac_count + 1 && ac_count=$as_val
4251    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4252      # Best one so far, save it but keep looking for a better one
4253      ac_cv_path_EGREP="$ac_path_EGREP"
4254      ac_path_EGREP_max=$ac_count
4255    fi
4256    # 10*(2^10) chars as input seems more than enough
4257    test $ac_count -gt 10 && break
4258  done
4259  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4260esac
4261
4262      $ac_path_EGREP_found && break 3
4263    done
4264  done
4265  done
4266IFS=$as_save_IFS
4267  if test -z "$ac_cv_path_EGREP"; then
4268    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4269  fi
4270else
4271  ac_cv_path_EGREP=$EGREP
4272fi
4273
4274   fi
4275fi
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4277$as_echo "$ac_cv_path_EGREP" >&6; }
4278 EGREP="$ac_cv_path_EGREP"
4279
4280
4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4282$as_echo_n "checking for ANSI C header files... " >&6; }
4283if ${ac_cv_header_stdc+:} false; then :
4284  $as_echo_n "(cached) " >&6
4285else
4286  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287/* end confdefs.h.  */
4288#include <stdlib.h>
4289#include <stdarg.h>
4290#include <string.h>
4291#include <float.h>
4292
4293int
4294main ()
4295{
4296
4297  ;
4298  return 0;
4299}
4300_ACEOF
4301if ac_fn_c_try_compile "$LINENO"; then :
4302  ac_cv_header_stdc=yes
4303else
4304  ac_cv_header_stdc=no
4305fi
4306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307
4308if test $ac_cv_header_stdc = yes; then
4309  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311/* end confdefs.h.  */
4312#include <string.h>
4313
4314_ACEOF
4315if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4316  $EGREP "memchr" >/dev/null 2>&1; then :
4317
4318else
4319  ac_cv_header_stdc=no
4320fi
4321rm -f conftest*
4322
4323fi
4324
4325if test $ac_cv_header_stdc = yes; then
4326  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4327  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328/* end confdefs.h.  */
4329#include <stdlib.h>
4330
4331_ACEOF
4332if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333  $EGREP "free" >/dev/null 2>&1; then :
4334
4335else
4336  ac_cv_header_stdc=no
4337fi
4338rm -f conftest*
4339
4340fi
4341
4342if test $ac_cv_header_stdc = yes; then
4343  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4344  if test "$cross_compiling" = yes; then :
4345  :
4346else
4347  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348/* end confdefs.h.  */
4349#include <ctype.h>
4350#include <stdlib.h>
4351#if ((' ' & 0x0FF) == 0x020)
4352# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4353# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4354#else
4355# define ISLOWER(c) \
4356		   (('a' <= (c) && (c) <= 'i') \
4357		     || ('j' <= (c) && (c) <= 'r') \
4358		     || ('s' <= (c) && (c) <= 'z'))
4359# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4360#endif
4361
4362#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4363int
4364main ()
4365{
4366  int i;
4367  for (i = 0; i < 256; i++)
4368    if (XOR (islower (i), ISLOWER (i))
4369	|| toupper (i) != TOUPPER (i))
4370      return 2;
4371  return 0;
4372}
4373_ACEOF
4374if ac_fn_c_try_run "$LINENO"; then :
4375
4376else
4377  ac_cv_header_stdc=no
4378fi
4379rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4380  conftest.$ac_objext conftest.beam conftest.$ac_ext
4381fi
4382
4383fi
4384fi
4385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4386$as_echo "$ac_cv_header_stdc" >&6; }
4387if test $ac_cv_header_stdc = yes; then
4388
4389$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4390
4391fi
4392
4393# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4394for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4395		  inttypes.h stdint.h unistd.h
4396do :
4397  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4398ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4399"
4400if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4401  cat >>confdefs.h <<_ACEOF
4402#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4403_ACEOF
4404
4405fi
4406
4407done
4408
4409
4410
4411  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4412if test "x$ac_cv_header_minix_config_h" = xyes; then :
4413  MINIX=yes
4414else
4415  MINIX=
4416fi
4417
4418
4419  if test "$MINIX" = yes; then
4420
4421$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4422
4423
4424$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4425
4426
4427$as_echo "#define _MINIX 1" >>confdefs.h
4428
4429  fi
4430
4431
4432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4433$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4434if ${ac_cv_safe_to_define___extensions__+:} false; then :
4435  $as_echo_n "(cached) " >&6
4436else
4437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438/* end confdefs.h.  */
4439
4440#         define __EXTENSIONS__ 1
4441          $ac_includes_default
4442int
4443main ()
4444{
4445
4446  ;
4447  return 0;
4448}
4449_ACEOF
4450if ac_fn_c_try_compile "$LINENO"; then :
4451  ac_cv_safe_to_define___extensions__=yes
4452else
4453  ac_cv_safe_to_define___extensions__=no
4454fi
4455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456fi
4457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4458$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4459  test $ac_cv_safe_to_define___extensions__ = yes &&
4460    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4461
4462  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4463
4464  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4465
4466  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4467
4468  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4469
4470
4471# Check whether --enable-largefile was given.
4472if test "${enable_largefile+set}" = set; then :
4473  enableval=$enable_largefile;
4474fi
4475
4476if test "$enable_largefile" != no; then
4477
4478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4479$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4480if ${ac_cv_sys_largefile_CC+:} false; then :
4481  $as_echo_n "(cached) " >&6
4482else
4483  ac_cv_sys_largefile_CC=no
4484     if test "$GCC" != yes; then
4485       ac_save_CC=$CC
4486       while :; do
4487	 # IRIX 6.2 and later do not support large files by default,
4488	 # so use the C compiler's -n32 option if that helps.
4489	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490/* end confdefs.h.  */
4491#include <sys/types.h>
4492 /* Check that off_t can represent 2**63 - 1 correctly.
4493    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4494    since some C++ compilers masquerading as C compilers
4495    incorrectly reject 9223372036854775807.  */
4496#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4497  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4498		       && LARGE_OFF_T % 2147483647 == 1)
4499		      ? 1 : -1];
4500int
4501main ()
4502{
4503
4504  ;
4505  return 0;
4506}
4507_ACEOF
4508	 if ac_fn_c_try_compile "$LINENO"; then :
4509  break
4510fi
4511rm -f core conftest.err conftest.$ac_objext
4512	 CC="$CC -n32"
4513	 if ac_fn_c_try_compile "$LINENO"; then :
4514  ac_cv_sys_largefile_CC=' -n32'; break
4515fi
4516rm -f core conftest.err conftest.$ac_objext
4517	 break
4518       done
4519       CC=$ac_save_CC
4520       rm -f conftest.$ac_ext
4521    fi
4522fi
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4524$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4525  if test "$ac_cv_sys_largefile_CC" != no; then
4526    CC=$CC$ac_cv_sys_largefile_CC
4527  fi
4528
4529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4530$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4531if ${ac_cv_sys_file_offset_bits+:} false; then :
4532  $as_echo_n "(cached) " >&6
4533else
4534  while :; do
4535  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536/* end confdefs.h.  */
4537#include <sys/types.h>
4538 /* Check that off_t can represent 2**63 - 1 correctly.
4539    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4540    since some C++ compilers masquerading as C compilers
4541    incorrectly reject 9223372036854775807.  */
4542#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4543  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4544		       && LARGE_OFF_T % 2147483647 == 1)
4545		      ? 1 : -1];
4546int
4547main ()
4548{
4549
4550  ;
4551  return 0;
4552}
4553_ACEOF
4554if ac_fn_c_try_compile "$LINENO"; then :
4555  ac_cv_sys_file_offset_bits=no; break
4556fi
4557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559/* end confdefs.h.  */
4560#define _FILE_OFFSET_BITS 64
4561#include <sys/types.h>
4562 /* Check that off_t can represent 2**63 - 1 correctly.
4563    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4564    since some C++ compilers masquerading as C compilers
4565    incorrectly reject 9223372036854775807.  */
4566#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4567  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4568		       && LARGE_OFF_T % 2147483647 == 1)
4569		      ? 1 : -1];
4570int
4571main ()
4572{
4573
4574  ;
4575  return 0;
4576}
4577_ACEOF
4578if ac_fn_c_try_compile "$LINENO"; then :
4579  ac_cv_sys_file_offset_bits=64; break
4580fi
4581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582  ac_cv_sys_file_offset_bits=unknown
4583  break
4584done
4585fi
4586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4587$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4588case $ac_cv_sys_file_offset_bits in #(
4589  no | unknown) ;;
4590  *)
4591cat >>confdefs.h <<_ACEOF
4592#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4593_ACEOF
4594;;
4595esac
4596rm -rf conftest*
4597  if test $ac_cv_sys_file_offset_bits = unknown; then
4598    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4599$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4600if ${ac_cv_sys_large_files+:} false; then :
4601  $as_echo_n "(cached) " >&6
4602else
4603  while :; do
4604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605/* end confdefs.h.  */
4606#include <sys/types.h>
4607 /* Check that off_t can represent 2**63 - 1 correctly.
4608    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4609    since some C++ compilers masquerading as C compilers
4610    incorrectly reject 9223372036854775807.  */
4611#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4612  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4613		       && LARGE_OFF_T % 2147483647 == 1)
4614		      ? 1 : -1];
4615int
4616main ()
4617{
4618
4619  ;
4620  return 0;
4621}
4622_ACEOF
4623if ac_fn_c_try_compile "$LINENO"; then :
4624  ac_cv_sys_large_files=no; break
4625fi
4626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628/* end confdefs.h.  */
4629#define _LARGE_FILES 1
4630#include <sys/types.h>
4631 /* Check that off_t can represent 2**63 - 1 correctly.
4632    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4633    since some C++ compilers masquerading as C compilers
4634    incorrectly reject 9223372036854775807.  */
4635#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4636  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4637		       && LARGE_OFF_T % 2147483647 == 1)
4638		      ? 1 : -1];
4639int
4640main ()
4641{
4642
4643  ;
4644  return 0;
4645}
4646_ACEOF
4647if ac_fn_c_try_compile "$LINENO"; then :
4648  ac_cv_sys_large_files=1; break
4649fi
4650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651  ac_cv_sys_large_files=unknown
4652  break
4653done
4654fi
4655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4656$as_echo "$ac_cv_sys_large_files" >&6; }
4657case $ac_cv_sys_large_files in #(
4658  no | unknown) ;;
4659  *)
4660cat >>confdefs.h <<_ACEOF
4661#define _LARGE_FILES $ac_cv_sys_large_files
4662_ACEOF
4663;;
4664esac
4665rm -rf conftest*
4666  fi
4667
4668
4669fi
4670
4671
4672MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4673for ac_prog in aclocal
4674do
4675  # Extract the first word of "$ac_prog", so it can be a program name with args.
4676set dummy $ac_prog; ac_word=$2
4677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678$as_echo_n "checking for $ac_word... " >&6; }
4679if ${ac_cv_prog_ACLOCAL+:} false; then :
4680  $as_echo_n "(cached) " >&6
4681else
4682  if test -n "$ACLOCAL"; then
4683  ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
4684else
4685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686for as_dir in $PATH
4687do
4688  IFS=$as_save_IFS
4689  test -z "$as_dir" && as_dir=.
4690    for ac_exec_ext in '' $ac_executable_extensions; do
4691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692    ac_cv_prog_ACLOCAL="$ac_prog"
4693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694    break 2
4695  fi
4696done
4697  done
4698IFS=$as_save_IFS
4699
4700fi
4701fi
4702ACLOCAL=$ac_cv_prog_ACLOCAL
4703if test -n "$ACLOCAL"; then
4704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4705$as_echo "$ACLOCAL" >&6; }
4706else
4707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708$as_echo "no" >&6; }
4709fi
4710
4711
4712  test -n "$ACLOCAL" && break
4713done
4714test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
4715
4716for ac_prog in autoconf
4717do
4718  # Extract the first word of "$ac_prog", so it can be a program name with args.
4719set dummy $ac_prog; ac_word=$2
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721$as_echo_n "checking for $ac_word... " >&6; }
4722if ${ac_cv_prog_AUTOCONF+:} false; then :
4723  $as_echo_n "(cached) " >&6
4724else
4725  if test -n "$AUTOCONF"; then
4726  ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
4727else
4728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729for as_dir in $PATH
4730do
4731  IFS=$as_save_IFS
4732  test -z "$as_dir" && as_dir=.
4733    for ac_exec_ext in '' $ac_executable_extensions; do
4734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735    ac_cv_prog_AUTOCONF="$ac_prog"
4736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737    break 2
4738  fi
4739done
4740  done
4741IFS=$as_save_IFS
4742
4743fi
4744fi
4745AUTOCONF=$ac_cv_prog_AUTOCONF
4746if test -n "$AUTOCONF"; then
4747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4748$as_echo "$AUTOCONF" >&6; }
4749else
4750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751$as_echo "no" >&6; }
4752fi
4753
4754
4755  test -n "$AUTOCONF" && break
4756done
4757test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
4758
4759for ac_prog in autoheader
4760do
4761  # Extract the first word of "$ac_prog", so it can be a program name with args.
4762set dummy $ac_prog; ac_word=$2
4763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764$as_echo_n "checking for $ac_word... " >&6; }
4765if ${ac_cv_prog_AUTOHEADER+:} false; then :
4766  $as_echo_n "(cached) " >&6
4767else
4768  if test -n "$AUTOHEADER"; then
4769  ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
4770else
4771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772for as_dir in $PATH
4773do
4774  IFS=$as_save_IFS
4775  test -z "$as_dir" && as_dir=.
4776    for ac_exec_ext in '' $ac_executable_extensions; do
4777  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4778    ac_cv_prog_AUTOHEADER="$ac_prog"
4779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780    break 2
4781  fi
4782done
4783  done
4784IFS=$as_save_IFS
4785
4786fi
4787fi
4788AUTOHEADER=$ac_cv_prog_AUTOHEADER
4789if test -n "$AUTOHEADER"; then
4790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4791$as_echo "$AUTOHEADER" >&6; }
4792else
4793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794$as_echo "no" >&6; }
4795fi
4796
4797
4798  test -n "$AUTOHEADER" && break
4799done
4800test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
4801
4802
4803# Figure out what compiler warnings we can enable.
4804# See config/warnings.m4 for details.
4805
4806ac_ext=c
4807ac_cpp='$CPP $CPPFLAGS'
4808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810ac_compiler_gnu=$ac_cv_c_compiler_gnu
4811
4812warn=
4813save_CFLAGS="$CFLAGS"
4814for real_option in -W -Wall -Wno-narrowing -Wwrite-strings \
4815			  -Wmissing-format-attribute; do
4816  # Do the check with the no- prefix removed since gcc silently
4817  # accepts any -Wno-* option on purpose
4818  case $real_option in
4819    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4820    *) option=$real_option ;;
4821  esac
4822  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4823
4824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4825$as_echo_n "checking whether $CC supports $option... " >&6; }
4826if eval \${$as_acx_Woption+:} false; then :
4827  $as_echo_n "(cached) " >&6
4828else
4829  CFLAGS="$option"
4830    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831/* end confdefs.h.  */
4832
4833int
4834main ()
4835{
4836
4837  ;
4838  return 0;
4839}
4840_ACEOF
4841if ac_fn_c_try_compile "$LINENO"; then :
4842  eval "$as_acx_Woption=yes"
4843else
4844  eval "$as_acx_Woption=no"
4845fi
4846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847
4848fi
4849eval ac_res=\$$as_acx_Woption
4850	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4851$as_echo "$ac_res" >&6; }
4852  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4853  warn="$warn${warn:+ }$real_option"
4854fi
4855  done
4856CFLAGS="$save_CFLAGS"
4857ac_ext=c
4858ac_cpp='$CPP $CPPFLAGS'
4859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861ac_compiler_gnu=$ac_cv_c_compiler_gnu
4862
4863
4864ac_ext=c
4865ac_cpp='$CPP $CPPFLAGS'
4866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4868ac_compiler_gnu=$ac_cv_c_compiler_gnu
4869
4870c_warn=
4871save_CFLAGS="$CFLAGS"
4872for real_option in -Wstrict-prototypes -Wmissing-prototypes \
4873			  -Wold-style-definition -Wc++-compat; do
4874  # Do the check with the no- prefix removed since gcc silently
4875  # accepts any -Wno-* option on purpose
4876  case $real_option in
4877    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4878    *) option=$real_option ;;
4879  esac
4880  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4881
4882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4883$as_echo_n "checking whether $CC supports $option... " >&6; }
4884if eval \${$as_acx_Woption+:} false; then :
4885  $as_echo_n "(cached) " >&6
4886else
4887  CFLAGS="$option"
4888    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889/* end confdefs.h.  */
4890
4891int
4892main ()
4893{
4894
4895  ;
4896  return 0;
4897}
4898_ACEOF
4899if ac_fn_c_try_compile "$LINENO"; then :
4900  eval "$as_acx_Woption=yes"
4901else
4902  eval "$as_acx_Woption=no"
4903fi
4904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905
4906fi
4907eval ac_res=\$$as_acx_Woption
4908	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4909$as_echo "$ac_res" >&6; }
4910  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4911  c_warn="$c_warn${c_warn:+ }$real_option"
4912fi
4913  done
4914CFLAGS="$save_CFLAGS"
4915ac_ext=c
4916ac_cpp='$CPP $CPPFLAGS'
4917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919ac_compiler_gnu=$ac_cv_c_compiler_gnu
4920
4921
4922ac_ext=c
4923ac_cpp='$CPP $CPPFLAGS'
4924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927
4928WARN_PEDANTIC=
4929# Do the check with the no- prefix removed from the warning options
4930# since gcc silently accepts any -Wno-* option on purpose
4931if test "$GCC" = yes; then :
4932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
4933$as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
4934if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
4935  $as_echo_n "(cached) " >&6
4936else
4937  save_CFLAGS="$CFLAGS"
4938CFLAGS="-pedantic -Wlong-long"
4939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940/* end confdefs.h.  */
4941
4942int
4943main ()
4944{
4945
4946  ;
4947  return 0;
4948}
4949_ACEOF
4950if ac_fn_c_try_compile "$LINENO"; then :
4951  acx_cv_prog_cc_pedantic__Wlong_long=yes
4952else
4953  acx_cv_prog_cc_pedantic__Wlong_long=no
4954fi
4955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956CFLAGS="$save_CFLAGS"
4957fi
4958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
4959$as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
4960if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
4961  WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
4962fi
4963
4964fi
4965ac_ext=c
4966ac_cpp='$CPP $CPPFLAGS'
4967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970
4971
4972
4973# Disable exceptions and RTTI if building with g++
4974ac_ext=c
4975ac_cpp='$CPP $CPPFLAGS'
4976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4978ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979
4980noexception_flags=
4981save_CFLAGS="$CFLAGS"
4982for real_option in -fno-exceptions -fno-rtti; do
4983  # Do the check with the no- prefix removed since gcc silently
4984  # accepts any -Wno-* option on purpose
4985  case $real_option in
4986    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4987    *) option=$real_option ;;
4988  esac
4989  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4990
4991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4992$as_echo_n "checking whether $CC supports $option... " >&6; }
4993if eval \${$as_acx_Woption+:} false; then :
4994  $as_echo_n "(cached) " >&6
4995else
4996  CFLAGS="$option"
4997    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998/* end confdefs.h.  */
4999
5000int
5001main ()
5002{
5003
5004  ;
5005  return 0;
5006}
5007_ACEOF
5008if ac_fn_c_try_compile "$LINENO"; then :
5009  eval "$as_acx_Woption=yes"
5010else
5011  eval "$as_acx_Woption=no"
5012fi
5013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014
5015fi
5016eval ac_res=\$$as_acx_Woption
5017	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5018$as_echo "$ac_res" >&6; }
5019  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5020  noexception_flags="$noexception_flags${noexception_flags:+ }$real_option"
5021fi
5022  done
5023CFLAGS="$save_CFLAGS"
5024ac_ext=c
5025ac_cpp='$CPP $CPPFLAGS'
5026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5028ac_compiler_gnu=$ac_cv_c_compiler_gnu
5029
5030
5031
5032# Only enable with --enable-werror-always until existing warnings are
5033# corrected.
5034ac_ext=c
5035ac_cpp='$CPP $CPPFLAGS'
5036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038ac_compiler_gnu=$ac_cv_c_compiler_gnu
5039
5040WERROR=
5041# Check whether --enable-werror-always was given.
5042if test "${enable_werror_always+set}" = set; then :
5043  enableval=$enable_werror_always;
5044else
5045  enable_werror_always=no
5046fi
5047
5048if test $enable_werror_always = yes; then :
5049  WERROR="$WERROR${WERROR:+ }-Werror"
5050fi
5051
5052ac_ext=c
5053ac_cpp='$CPP $CPPFLAGS'
5054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056ac_compiler_gnu=$ac_cv_c_compiler_gnu
5057
5058
5059
5060# Dependency checking.
5061rm -rf .tst 2>/dev/null
5062mkdir .tst 2>/dev/null
5063if test -d .tst; then
5064  am__leading_dot=.
5065else
5066  am__leading_dot=_
5067fi
5068rmdir .tst 2>/dev/null
5069
5070DEPDIR="${am__leading_dot}deps"
5071
5072ac_config_commands="$ac_config_commands depdir"
5073
5074
5075ac_ext=cpp
5076ac_cpp='$CXXCPP $CPPFLAGS'
5077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5080
5081
5082cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083/* end confdefs.h.  */
5084int i;
5085_ACEOF
5086if ac_fn_cxx_try_compile "$LINENO"; then :
5087
5088else
5089  as_fn_error $? "C++ compiler missing or inoperational" "$LINENO" 5
5090fi
5091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092ac_ext=c
5093ac_cpp='$CPP $CPPFLAGS'
5094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5096ac_compiler_gnu=$ac_cv_c_compiler_gnu
5097
5098depcc="$CXX"  am_compiler_list=
5099
5100am_depcomp=$ac_aux_dir/depcomp
5101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5102$as_echo_n "checking dependency style of $depcc... " >&6; }
5103if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5104  $as_echo_n "(cached) " >&6
5105else
5106  if test -f "$am_depcomp"; then
5107  # We make a subdir and do the tests there.  Otherwise we can end up
5108  # making bogus files that we don't know about and never remove.  For
5109  # instance it was reported that on HP-UX the gcc test will end up
5110  # making a dummy file named `D' -- because `-MD' means `put the output
5111  # in D'.
5112  mkdir conftest.dir
5113  # Copy depcomp to subdir because otherwise we won't find it if we're
5114  # using a relative directory.
5115  cp "$am_depcomp" conftest.dir
5116  cd conftest.dir
5117  # We will build objects and dependencies in a subdirectory because
5118  # it helps to detect inapplicable dependency modes.  For instance
5119  # both Tru64's cc and ICC support -MD to output dependencies as a
5120  # side effect of compilation, but ICC will put the dependencies in
5121  # the current directory while Tru64 will put them in the object
5122  # directory.
5123  mkdir sub
5124
5125  am_cv_CXX_dependencies_compiler_type=none
5126  if test "$am_compiler_list" = ""; then
5127     am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5128  fi
5129  for depmode in $am_compiler_list; do
5130    if test $depmode = none; then break; fi
5131
5132    $as_echo "$as_me:$LINENO: trying $depmode" >&5
5133    # Setup a source with many dependencies, because some compilers
5134    # like to wrap large dependency lists on column 80 (with \), and
5135    # we should not choose a depcomp mode which is confused by this.
5136    #
5137    # We need to recreate these files for each test, as the compiler may
5138    # overwrite some of them when testing with obscure command lines.
5139    # This happens at least with the AIX C compiler.
5140    : > sub/conftest.c
5141    for i in 1 2 3 4 5 6; do
5142      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5143      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5144      # Solaris 8's {/usr,}/bin/sh.
5145      touch sub/conftst$i.h
5146    done
5147    echo "include sub/conftest.Po" > confmf
5148
5149    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5150    # mode.  It turns out that the SunPro C++ compiler does not properly
5151    # handle `-M -o', and we need to detect this.
5152    depcmd="depmode=$depmode \
5153       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5154       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5155       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
5156    echo "| $depcmd" | sed -e 's/  */ /g' >&5
5157    if env $depcmd > conftest.err 2>&1 &&
5158       grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
5159       grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
5160       ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
5161      # icc doesn't choke on unknown options, it will just issue warnings
5162      # or remarks (even with -Werror).  So we grep stderr for any message
5163      # that says an option was ignored or not supported.
5164      # When given -MP, icc 7.0 and 7.1 complain thusly:
5165      #   icc: Command line warning: ignoring option '-M'; no argument required
5166      # The diagnosis changed in icc 8.0:
5167      #   icc: Command line remark: option '-MP' not supported
5168      if (grep 'ignoring option' conftest.err ||
5169          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5170        am_cv_CXX_dependencies_compiler_type=$depmode
5171	$as_echo "$as_me:$LINENO: success" >&5
5172        break
5173      fi
5174    fi
5175    $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5176    sed -e 's/^/| /' < conftest.err >&5
5177  done
5178
5179  cd ..
5180  rm -rf conftest.dir
5181else
5182  am_cv_CXX_dependencies_compiler_type=none
5183fi
5184
5185fi
5186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5187$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5188if test x${am_cv_CXX_dependencies_compiler_type-none} = xnone
5189then as_fn_error $? "no usable dependency style found" "$LINENO" 5
5190else CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5191
5192fi
5193
5194
5195# Checks for header files.
5196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5197$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5198if ${ac_cv_header_time+:} false; then :
5199  $as_echo_n "(cached) " >&6
5200else
5201  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202/* end confdefs.h.  */
5203#include <sys/types.h>
5204#include <sys/time.h>
5205#include <time.h>
5206
5207int
5208main ()
5209{
5210if ((struct tm *) 0)
5211return 0;
5212  ;
5213  return 0;
5214}
5215_ACEOF
5216if ac_fn_c_try_compile "$LINENO"; then :
5217  ac_cv_header_time=yes
5218else
5219  ac_cv_header_time=no
5220fi
5221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5222fi
5223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5224$as_echo "$ac_cv_header_time" >&6; }
5225if test $ac_cv_header_time = yes; then
5226
5227$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5228
5229fi
5230
5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5232$as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5233if ${gcc_cv_header_string+:} false; then :
5234  $as_echo_n "(cached) " >&6
5235else
5236  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237/* end confdefs.h.  */
5238#include <string.h>
5239#include <strings.h>
5240int
5241main ()
5242{
5243
5244  ;
5245  return 0;
5246}
5247_ACEOF
5248if ac_fn_c_try_compile "$LINENO"; then :
5249  gcc_cv_header_string=yes
5250else
5251  gcc_cv_header_string=no
5252fi
5253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254fi
5255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5256$as_echo "$gcc_cv_header_string" >&6; }
5257if test $gcc_cv_header_string = yes; then
5258
5259$as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5260
5261fi
5262
5263
5264for ac_header in locale.h fcntl.h limits.h stddef.h \
5265	stdlib.h strings.h string.h sys/file.h unistd.h
5266do :
5267  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5268ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5269if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5270  cat >>confdefs.h <<_ACEOF
5271#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5272_ACEOF
5273
5274fi
5275
5276done
5277
5278
5279# Checks for typedefs, structures, and compiler characteristics.
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5281$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5282if ${ac_cv_c_bigendian+:} false; then :
5283  $as_echo_n "(cached) " >&6
5284else
5285  ac_cv_c_bigendian=unknown
5286    # See if we're dealing with a universal compiler.
5287    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288/* end confdefs.h.  */
5289#ifndef __APPLE_CC__
5290	       not a universal capable compiler
5291	     #endif
5292	     typedef int dummy;
5293
5294_ACEOF
5295if ac_fn_c_try_compile "$LINENO"; then :
5296
5297	# Check for potential -arch flags.  It is not universal unless
5298	# there are at least two -arch flags with different values.
5299	ac_arch=
5300	ac_prev=
5301	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5302	 if test -n "$ac_prev"; then
5303	   case $ac_word in
5304	     i?86 | x86_64 | ppc | ppc64)
5305	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5306		 ac_arch=$ac_word
5307	       else
5308		 ac_cv_c_bigendian=universal
5309		 break
5310	       fi
5311	       ;;
5312	   esac
5313	   ac_prev=
5314	 elif test "x$ac_word" = "x-arch"; then
5315	   ac_prev=arch
5316	 fi
5317       done
5318fi
5319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320    if test $ac_cv_c_bigendian = unknown; then
5321      # See if sys/param.h defines the BYTE_ORDER macro.
5322      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323/* end confdefs.h.  */
5324#include <sys/types.h>
5325	     #include <sys/param.h>
5326
5327int
5328main ()
5329{
5330#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5331		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5332		     && LITTLE_ENDIAN)
5333	      bogus endian macros
5334	     #endif
5335
5336  ;
5337  return 0;
5338}
5339_ACEOF
5340if ac_fn_c_try_compile "$LINENO"; then :
5341  # It does; now see whether it defined to BIG_ENDIAN or not.
5342	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343/* end confdefs.h.  */
5344#include <sys/types.h>
5345		#include <sys/param.h>
5346
5347int
5348main ()
5349{
5350#if BYTE_ORDER != BIG_ENDIAN
5351		 not big endian
5352		#endif
5353
5354  ;
5355  return 0;
5356}
5357_ACEOF
5358if ac_fn_c_try_compile "$LINENO"; then :
5359  ac_cv_c_bigendian=yes
5360else
5361  ac_cv_c_bigendian=no
5362fi
5363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364fi
5365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5366    fi
5367    if test $ac_cv_c_bigendian = unknown; then
5368      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370/* end confdefs.h.  */
5371#include <limits.h>
5372
5373int
5374main ()
5375{
5376#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5377	      bogus endian macros
5378	     #endif
5379
5380  ;
5381  return 0;
5382}
5383_ACEOF
5384if ac_fn_c_try_compile "$LINENO"; then :
5385  # It does; now see whether it defined to _BIG_ENDIAN or not.
5386	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387/* end confdefs.h.  */
5388#include <limits.h>
5389
5390int
5391main ()
5392{
5393#ifndef _BIG_ENDIAN
5394		 not big endian
5395		#endif
5396
5397  ;
5398  return 0;
5399}
5400_ACEOF
5401if ac_fn_c_try_compile "$LINENO"; then :
5402  ac_cv_c_bigendian=yes
5403else
5404  ac_cv_c_bigendian=no
5405fi
5406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407fi
5408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5409    fi
5410    if test $ac_cv_c_bigendian = unknown; then
5411      # Compile a test program.
5412      if test "$cross_compiling" = yes; then :
5413  # Try to guess by grepping values from an object file.
5414	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415/* end confdefs.h.  */
5416short int ascii_mm[] =
5417		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5418		short int ascii_ii[] =
5419		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5420		int use_ascii (int i) {
5421		  return ascii_mm[i] + ascii_ii[i];
5422		}
5423		short int ebcdic_ii[] =
5424		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5425		short int ebcdic_mm[] =
5426		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5427		int use_ebcdic (int i) {
5428		  return ebcdic_mm[i] + ebcdic_ii[i];
5429		}
5430		extern int foo;
5431
5432int
5433main ()
5434{
5435return use_ascii (foo) == use_ebcdic (foo);
5436  ;
5437  return 0;
5438}
5439_ACEOF
5440if ac_fn_c_try_compile "$LINENO"; then :
5441  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5442	      ac_cv_c_bigendian=yes
5443	    fi
5444	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5445	      if test "$ac_cv_c_bigendian" = unknown; then
5446		ac_cv_c_bigendian=no
5447	      else
5448		# finding both strings is unlikely to happen, but who knows?
5449		ac_cv_c_bigendian=unknown
5450	      fi
5451	    fi
5452fi
5453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454else
5455  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456/* end confdefs.h.  */
5457$ac_includes_default
5458int
5459main ()
5460{
5461
5462	     /* Are we little or big endian?  From Harbison&Steele.  */
5463	     union
5464	     {
5465	       long int l;
5466	       char c[sizeof (long int)];
5467	     } u;
5468	     u.l = 1;
5469	     return u.c[sizeof (long int) - 1] == 1;
5470
5471  ;
5472  return 0;
5473}
5474_ACEOF
5475if ac_fn_c_try_run "$LINENO"; then :
5476  ac_cv_c_bigendian=no
5477else
5478  ac_cv_c_bigendian=yes
5479fi
5480rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5481  conftest.$ac_objext conftest.beam conftest.$ac_ext
5482fi
5483
5484    fi
5485fi
5486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5487$as_echo "$ac_cv_c_bigendian" >&6; }
5488 case $ac_cv_c_bigendian in #(
5489   yes)
5490     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5491;; #(
5492   no)
5493      ;; #(
5494   universal)
5495
5496$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5497
5498     ;; #(
5499   *)
5500     as_fn_error $? "unknown endianness
5501 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5502 esac
5503
5504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5505$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5506if ${ac_cv_c_const+:} false; then :
5507  $as_echo_n "(cached) " >&6
5508else
5509  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5510/* end confdefs.h.  */
5511
5512int
5513main ()
5514{
5515
5516#ifndef __cplusplus
5517  /* Ultrix mips cc rejects this sort of thing.  */
5518  typedef int charset[2];
5519  const charset cs = { 0, 0 };
5520  /* SunOS 4.1.1 cc rejects this.  */
5521  char const *const *pcpcc;
5522  char **ppc;
5523  /* NEC SVR4.0.2 mips cc rejects this.  */
5524  struct point {int x, y;};
5525  static struct point const zero = {0,0};
5526  /* AIX XL C 1.02.0.0 rejects this.
5527     It does not let you subtract one const X* pointer from another in
5528     an arm of an if-expression whose if-part is not a constant
5529     expression */
5530  const char *g = "string";
5531  pcpcc = &g + (g ? g-g : 0);
5532  /* HPUX 7.0 cc rejects these. */
5533  ++pcpcc;
5534  ppc = (char**) pcpcc;
5535  pcpcc = (char const *const *) ppc;
5536  { /* SCO 3.2v4 cc rejects this sort of thing.  */
5537    char tx;
5538    char *t = &tx;
5539    char const *s = 0 ? (char *) 0 : (char const *) 0;
5540
5541    *t++ = 0;
5542    if (s) return 0;
5543  }
5544  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5545    int x[] = {25, 17};
5546    const int *foo = &x[0];
5547    ++foo;
5548  }
5549  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5550    typedef const int *iptr;
5551    iptr p = 0;
5552    ++p;
5553  }
5554  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5555       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5556    struct s { int j; const int *ap[3]; } bx;
5557    struct s *b = &bx; b->j = 5;
5558  }
5559  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5560    const int foo = 10;
5561    if (!foo) return 0;
5562  }
5563  return !cs[0] && !zero.x;
5564#endif
5565
5566  ;
5567  return 0;
5568}
5569_ACEOF
5570if ac_fn_c_try_compile "$LINENO"; then :
5571  ac_cv_c_const=yes
5572else
5573  ac_cv_c_const=no
5574fi
5575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5576fi
5577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5578$as_echo "$ac_cv_c_const" >&6; }
5579if test $ac_cv_c_const = no; then
5580
5581$as_echo "#define const /**/" >>confdefs.h
5582
5583fi
5584
5585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5586$as_echo_n "checking for inline... " >&6; }
5587if ${ac_cv_c_inline+:} false; then :
5588  $as_echo_n "(cached) " >&6
5589else
5590  ac_cv_c_inline=no
5591for ac_kw in inline __inline__ __inline; do
5592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593/* end confdefs.h.  */
5594#ifndef __cplusplus
5595typedef int foo_t;
5596static $ac_kw foo_t static_foo () {return 0; }
5597$ac_kw foo_t foo () {return 0; }
5598#endif
5599
5600_ACEOF
5601if ac_fn_c_try_compile "$LINENO"; then :
5602  ac_cv_c_inline=$ac_kw
5603fi
5604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5605  test "$ac_cv_c_inline" != no && break
5606done
5607
5608fi
5609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5610$as_echo "$ac_cv_c_inline" >&6; }
5611
5612case $ac_cv_c_inline in
5613  inline | yes) ;;
5614  *)
5615    case $ac_cv_c_inline in
5616      no) ac_val=;;
5617      *) ac_val=$ac_cv_c_inline;;
5618    esac
5619    cat >>confdefs.h <<_ACEOF
5620#ifndef __cplusplus
5621#define inline $ac_val
5622#endif
5623_ACEOF
5624    ;;
5625esac
5626
5627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5628$as_echo_n "checking for obstacks... " >&6; }
5629if ${ac_cv_func_obstack+:} false; then :
5630  $as_echo_n "(cached) " >&6
5631else
5632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633/* end confdefs.h.  */
5634$ac_includes_default
5635		      #include "obstack.h"
5636int
5637main ()
5638{
5639struct obstack mem;
5640		       #define obstack_chunk_alloc malloc
5641		       #define obstack_chunk_free free
5642		       obstack_init (&mem);
5643		       obstack_free (&mem, 0);
5644  ;
5645  return 0;
5646}
5647_ACEOF
5648if ac_fn_c_try_link "$LINENO"; then :
5649  ac_cv_func_obstack=yes
5650else
5651  ac_cv_func_obstack=no
5652fi
5653rm -f core conftest.err conftest.$ac_objext \
5654    conftest$ac_exeext conftest.$ac_ext
5655fi
5656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5657$as_echo "$ac_cv_func_obstack" >&6; }
5658if test $ac_cv_func_obstack = yes; then
5659
5660$as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5661
5662else
5663  case " $LIBOBJS " in
5664  *" obstack.$ac_objext "* ) ;;
5665  *) LIBOBJS="$LIBOBJS obstack.$ac_objext"
5666 ;;
5667esac
5668
5669fi
5670
5671ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5672if test "x$ac_cv_type_off_t" = xyes; then :
5673
5674else
5675
5676cat >>confdefs.h <<_ACEOF
5677#define off_t long int
5678_ACEOF
5679
5680fi
5681
5682ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5683if test "x$ac_cv_type_size_t" = xyes; then :
5684
5685else
5686
5687cat >>confdefs.h <<_ACEOF
5688#define size_t unsigned int
5689_ACEOF
5690
5691fi
5692
5693ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5694if test "x$ac_cv_type_ssize_t" = xyes; then :
5695
5696else
5697
5698cat >>confdefs.h <<_ACEOF
5699#define ssize_t int
5700_ACEOF
5701
5702fi
5703
5704
5705  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5706if test "x$ac_cv_type_uintptr_t" = xyes; then :
5707
5708$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5709
5710else
5711  for ac_type in 'unsigned int' 'unsigned long int' \
5712	'unsigned long long int'; do
5713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714/* end confdefs.h.  */
5715$ac_includes_default
5716int
5717main ()
5718{
5719static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5720test_array [0] = 0;
5721return test_array [0];
5722
5723  ;
5724  return 0;
5725}
5726_ACEOF
5727if ac_fn_c_try_compile "$LINENO"; then :
5728
5729cat >>confdefs.h <<_ACEOF
5730#define uintptr_t $ac_type
5731_ACEOF
5732
5733	  ac_type=
5734fi
5735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5736       test -z "$ac_type" && break
5737     done
5738fi
5739
5740
5741ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5742if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
5743
5744else
5745
5746cat >>confdefs.h <<_ACEOF
5747#define ptrdiff_t int
5748_ACEOF
5749
5750fi
5751
5752ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
5753case $ac_cv_c_uint64_t in #(
5754  no|yes) ;; #(
5755  *)
5756
5757$as_echo "#define _UINT64_T 1" >>confdefs.h
5758
5759
5760cat >>confdefs.h <<_ACEOF
5761#define uint64_t $ac_cv_c_uint64_t
5762_ACEOF
5763;;
5764  esac
5765
5766if test x"$ac_cv_c_uint64_t" = x"no"; then
5767  as_fn_error $? "uint64_t not found" "$LINENO" 5
5768fi
5769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5770$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5771if ${ac_cv_struct_tm+:} false; then :
5772  $as_echo_n "(cached) " >&6
5773else
5774  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775/* end confdefs.h.  */
5776#include <sys/types.h>
5777#include <time.h>
5778
5779int
5780main ()
5781{
5782struct tm tm;
5783				     int *p = &tm.tm_sec;
5784				     return !p;
5785  ;
5786  return 0;
5787}
5788_ACEOF
5789if ac_fn_c_try_compile "$LINENO"; then :
5790  ac_cv_struct_tm=time.h
5791else
5792  ac_cv_struct_tm=sys/time.h
5793fi
5794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5795fi
5796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5797$as_echo "$ac_cv_struct_tm" >&6; }
5798if test $ac_cv_struct_tm = sys/time.h; then
5799
5800$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5801
5802fi
5803
5804# The cast to long int works around a bug in the HP C Compiler
5805# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5806# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5807# This bug is HP SR number 8606223364.
5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5809$as_echo_n "checking size of int... " >&6; }
5810if ${ac_cv_sizeof_int+:} false; then :
5811  $as_echo_n "(cached) " >&6
5812else
5813  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
5814
5815else
5816  if test "$ac_cv_type_int" = yes; then
5817     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5818$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5819as_fn_error 77 "cannot compute sizeof (int)
5820See \`config.log' for more details" "$LINENO" 5; }
5821   else
5822     ac_cv_sizeof_int=0
5823   fi
5824fi
5825
5826fi
5827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5828$as_echo "$ac_cv_sizeof_int" >&6; }
5829
5830
5831
5832cat >>confdefs.h <<_ACEOF
5833#define SIZEOF_INT $ac_cv_sizeof_int
5834_ACEOF
5835
5836
5837# The cast to long int works around a bug in the HP C Compiler
5838# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5839# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5840# This bug is HP SR number 8606223364.
5841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5842$as_echo_n "checking size of long... " >&6; }
5843if ${ac_cv_sizeof_long+:} false; then :
5844  $as_echo_n "(cached) " >&6
5845else
5846  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
5847
5848else
5849  if test "$ac_cv_type_long" = yes; then
5850     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5851$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5852as_fn_error 77 "cannot compute sizeof (long)
5853See \`config.log' for more details" "$LINENO" 5; }
5854   else
5855     ac_cv_sizeof_long=0
5856   fi
5857fi
5858
5859fi
5860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5861$as_echo "$ac_cv_sizeof_long" >&6; }
5862
5863
5864
5865cat >>confdefs.h <<_ACEOF
5866#define SIZEOF_LONG $ac_cv_sizeof_long
5867_ACEOF
5868
5869
5870
5871for ac_func in clearerr_unlocked feof_unlocked   ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked   fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked   fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked   putchar_unlocked putc_unlocked
5872do :
5873  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5874ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5875if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5876  cat >>confdefs.h <<_ACEOF
5877#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5878_ACEOF
5879
5880fi
5881done
5882
5883ac_fn_c_check_decl "$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
5884if test "x$ac_cv_have_decl_abort" = xyes; then :
5885  ac_have_decl=1
5886else
5887  ac_have_decl=0
5888fi
5889
5890cat >>confdefs.h <<_ACEOF
5891#define HAVE_DECL_ABORT $ac_have_decl
5892_ACEOF
5893ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
5894if test "x$ac_cv_have_decl_asprintf" = xyes; then :
5895  ac_have_decl=1
5896else
5897  ac_have_decl=0
5898fi
5899
5900cat >>confdefs.h <<_ACEOF
5901#define HAVE_DECL_ASPRINTF $ac_have_decl
5902_ACEOF
5903as_ac_Symbol=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
5904ac_fn_c_check_decl "$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
5905if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then :
5906  ac_have_decl=1
5907else
5908  ac_have_decl=0
5909fi
5910
5911cat >>confdefs.h <<_ACEOF
5912#define HAVE_DECL_BASENAME $ac_have_decl
5913_ACEOF
5914ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
5915if test "x$ac_cv_have_decl_errno" = xyes; then :
5916  ac_have_decl=1
5917else
5918  ac_have_decl=0
5919fi
5920
5921cat >>confdefs.h <<_ACEOF
5922#define HAVE_DECL_ERRNO $ac_have_decl
5923_ACEOF
5924ac_fn_c_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
5925if test "x$ac_cv_have_decl_getopt" = xyes; then :
5926  ac_have_decl=1
5927else
5928  ac_have_decl=0
5929fi
5930
5931cat >>confdefs.h <<_ACEOF
5932#define HAVE_DECL_GETOPT $ac_have_decl
5933_ACEOF
5934ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5935if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
5936  ac_have_decl=1
5937else
5938  ac_have_decl=0
5939fi
5940
5941cat >>confdefs.h <<_ACEOF
5942#define HAVE_DECL_VASPRINTF $ac_have_decl
5943_ACEOF
5944
5945ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
5946if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
5947  ac_have_decl=1
5948else
5949  ac_have_decl=0
5950fi
5951
5952cat >>confdefs.h <<_ACEOF
5953#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
5954_ACEOF
5955ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
5956if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
5957  ac_have_decl=1
5958else
5959  ac_have_decl=0
5960fi
5961
5962cat >>confdefs.h <<_ACEOF
5963#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5964_ACEOF
5965ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5966if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
5967  ac_have_decl=1
5968else
5969  ac_have_decl=0
5970fi
5971
5972cat >>confdefs.h <<_ACEOF
5973#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5974_ACEOF
5975ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5976if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
5977  ac_have_decl=1
5978else
5979  ac_have_decl=0
5980fi
5981
5982cat >>confdefs.h <<_ACEOF
5983#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5984_ACEOF
5985ac_fn_c_check_decl "$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5986if test "x$ac_cv_have_decl_fgetc_unlocked" = xyes; then :
5987  ac_have_decl=1
5988else
5989  ac_have_decl=0
5990fi
5991
5992cat >>confdefs.h <<_ACEOF
5993#define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5994_ACEOF
5995ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5996if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
5997  ac_have_decl=1
5998else
5999  ac_have_decl=0
6000fi
6001
6002cat >>confdefs.h <<_ACEOF
6003#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
6004_ACEOF
6005ac_fn_c_check_decl "$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
6006if test "x$ac_cv_have_decl_fileno_unlocked" = xyes; then :
6007  ac_have_decl=1
6008else
6009  ac_have_decl=0
6010fi
6011
6012cat >>confdefs.h <<_ACEOF
6013#define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
6014_ACEOF
6015ac_fn_c_check_decl "$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
6016if test "x$ac_cv_have_decl_fprintf_unlocked" = xyes; then :
6017  ac_have_decl=1
6018else
6019  ac_have_decl=0
6020fi
6021
6022cat >>confdefs.h <<_ACEOF
6023#define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
6024_ACEOF
6025ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
6026if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
6027  ac_have_decl=1
6028else
6029  ac_have_decl=0
6030fi
6031
6032cat >>confdefs.h <<_ACEOF
6033#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
6034_ACEOF
6035ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
6036if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
6037  ac_have_decl=1
6038else
6039  ac_have_decl=0
6040fi
6041
6042cat >>confdefs.h <<_ACEOF
6043#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
6044_ACEOF
6045ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
6046if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
6047  ac_have_decl=1
6048else
6049  ac_have_decl=0
6050fi
6051
6052cat >>confdefs.h <<_ACEOF
6053#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
6054_ACEOF
6055ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
6056if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
6057  ac_have_decl=1
6058else
6059  ac_have_decl=0
6060fi
6061
6062cat >>confdefs.h <<_ACEOF
6063#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
6064_ACEOF
6065ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
6066if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
6067  ac_have_decl=1
6068else
6069  ac_have_decl=0
6070fi
6071
6072cat >>confdefs.h <<_ACEOF
6073#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
6074_ACEOF
6075ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
6076if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
6077  ac_have_decl=1
6078else
6079  ac_have_decl=0
6080fi
6081
6082cat >>confdefs.h <<_ACEOF
6083#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
6084_ACEOF
6085ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
6086if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
6087  ac_have_decl=1
6088else
6089  ac_have_decl=0
6090fi
6091
6092cat >>confdefs.h <<_ACEOF
6093#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
6094_ACEOF
6095ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
6096if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
6097  ac_have_decl=1
6098else
6099  ac_have_decl=0
6100fi
6101
6102cat >>confdefs.h <<_ACEOF
6103#define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
6104_ACEOF
6105
6106
6107# Checks for library functions.
6108# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6109# for constant arguments.  Useless!
6110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6111$as_echo_n "checking for working alloca.h... " >&6; }
6112if ${ac_cv_working_alloca_h+:} false; then :
6113  $as_echo_n "(cached) " >&6
6114else
6115  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6116/* end confdefs.h.  */
6117#include <alloca.h>
6118int
6119main ()
6120{
6121char *p = (char *) alloca (2 * sizeof (int));
6122			  if (p) return 0;
6123  ;
6124  return 0;
6125}
6126_ACEOF
6127if ac_fn_c_try_link "$LINENO"; then :
6128  ac_cv_working_alloca_h=yes
6129else
6130  ac_cv_working_alloca_h=no
6131fi
6132rm -f core conftest.err conftest.$ac_objext \
6133    conftest$ac_exeext conftest.$ac_ext
6134fi
6135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6136$as_echo "$ac_cv_working_alloca_h" >&6; }
6137if test $ac_cv_working_alloca_h = yes; then
6138
6139$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6140
6141fi
6142
6143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6144$as_echo_n "checking for alloca... " >&6; }
6145if ${ac_cv_func_alloca_works+:} false; then :
6146  $as_echo_n "(cached) " >&6
6147else
6148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149/* end confdefs.h.  */
6150#ifdef __GNUC__
6151# define alloca __builtin_alloca
6152#else
6153# ifdef _MSC_VER
6154#  include <malloc.h>
6155#  define alloca _alloca
6156# else
6157#  ifdef HAVE_ALLOCA_H
6158#   include <alloca.h>
6159#  else
6160#   ifdef _AIX
6161 #pragma alloca
6162#   else
6163#    ifndef alloca /* predefined by HP cc +Olibcalls */
6164void *alloca (size_t);
6165#    endif
6166#   endif
6167#  endif
6168# endif
6169#endif
6170
6171int
6172main ()
6173{
6174char *p = (char *) alloca (1);
6175				    if (p) return 0;
6176  ;
6177  return 0;
6178}
6179_ACEOF
6180if ac_fn_c_try_link "$LINENO"; then :
6181  ac_cv_func_alloca_works=yes
6182else
6183  ac_cv_func_alloca_works=no
6184fi
6185rm -f core conftest.err conftest.$ac_objext \
6186    conftest$ac_exeext conftest.$ac_ext
6187fi
6188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6189$as_echo "$ac_cv_func_alloca_works" >&6; }
6190
6191if test $ac_cv_func_alloca_works = yes; then
6192
6193$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6194
6195else
6196  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6197# that cause trouble.  Some versions do not even contain alloca or
6198# contain a buggy version.  If you still want to use their alloca,
6199# use ar to extract alloca.o from them instead of compiling alloca.c.
6200
6201ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6202
6203$as_echo "#define C_ALLOCA 1" >>confdefs.h
6204
6205
6206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6207$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6208if ${ac_cv_os_cray+:} false; then :
6209  $as_echo_n "(cached) " >&6
6210else
6211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6212/* end confdefs.h.  */
6213#if defined CRAY && ! defined CRAY2
6214webecray
6215#else
6216wenotbecray
6217#endif
6218
6219_ACEOF
6220if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6221  $EGREP "webecray" >/dev/null 2>&1; then :
6222  ac_cv_os_cray=yes
6223else
6224  ac_cv_os_cray=no
6225fi
6226rm -f conftest*
6227
6228fi
6229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6230$as_echo "$ac_cv_os_cray" >&6; }
6231if test $ac_cv_os_cray = yes; then
6232  for ac_func in _getb67 GETB67 getb67; do
6233    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6234ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6235if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6236
6237cat >>confdefs.h <<_ACEOF
6238#define CRAY_STACKSEG_END $ac_func
6239_ACEOF
6240
6241    break
6242fi
6243
6244  done
6245fi
6246
6247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6248$as_echo_n "checking stack direction for C alloca... " >&6; }
6249if ${ac_cv_c_stack_direction+:} false; then :
6250  $as_echo_n "(cached) " >&6
6251else
6252  if test "$cross_compiling" = yes; then :
6253  ac_cv_c_stack_direction=0
6254else
6255  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6256/* end confdefs.h.  */
6257$ac_includes_default
6258int
6259find_stack_direction (int *addr, int depth)
6260{
6261  int dir, dummy = 0;
6262  if (! addr)
6263    addr = &dummy;
6264  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
6265  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
6266  return dir + dummy;
6267}
6268
6269int
6270main (int argc, char **argv)
6271{
6272  return find_stack_direction (0, argc + !argv + 20) < 0;
6273}
6274_ACEOF
6275if ac_fn_c_try_run "$LINENO"; then :
6276  ac_cv_c_stack_direction=1
6277else
6278  ac_cv_c_stack_direction=-1
6279fi
6280rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6281  conftest.$ac_objext conftest.beam conftest.$ac_ext
6282fi
6283
6284fi
6285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6286$as_echo "$ac_cv_c_stack_direction" >&6; }
6287cat >>confdefs.h <<_ACEOF
6288#define STACK_DIRECTION $ac_cv_c_stack_direction
6289_ACEOF
6290
6291
6292fi
6293
6294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6295$as_echo_n "checking for ANSI C header files... " >&6; }
6296if ${ac_cv_header_stdc+:} false; then :
6297  $as_echo_n "(cached) " >&6
6298else
6299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300/* end confdefs.h.  */
6301#include <stdlib.h>
6302#include <stdarg.h>
6303#include <string.h>
6304#include <float.h>
6305
6306int
6307main ()
6308{
6309
6310  ;
6311  return 0;
6312}
6313_ACEOF
6314if ac_fn_c_try_compile "$LINENO"; then :
6315  ac_cv_header_stdc=yes
6316else
6317  ac_cv_header_stdc=no
6318fi
6319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320
6321if test $ac_cv_header_stdc = yes; then
6322  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324/* end confdefs.h.  */
6325#include <string.h>
6326
6327_ACEOF
6328if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6329  $EGREP "memchr" >/dev/null 2>&1; then :
6330
6331else
6332  ac_cv_header_stdc=no
6333fi
6334rm -f conftest*
6335
6336fi
6337
6338if test $ac_cv_header_stdc = yes; then
6339  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341/* end confdefs.h.  */
6342#include <stdlib.h>
6343
6344_ACEOF
6345if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6346  $EGREP "free" >/dev/null 2>&1; then :
6347
6348else
6349  ac_cv_header_stdc=no
6350fi
6351rm -f conftest*
6352
6353fi
6354
6355if test $ac_cv_header_stdc = yes; then
6356  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6357  if test "$cross_compiling" = yes; then :
6358  :
6359else
6360  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361/* end confdefs.h.  */
6362#include <ctype.h>
6363#include <stdlib.h>
6364#if ((' ' & 0x0FF) == 0x020)
6365# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6366# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6367#else
6368# define ISLOWER(c) \
6369		   (('a' <= (c) && (c) <= 'i') \
6370		     || ('j' <= (c) && (c) <= 'r') \
6371		     || ('s' <= (c) && (c) <= 'z'))
6372# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6373#endif
6374
6375#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6376int
6377main ()
6378{
6379  int i;
6380  for (i = 0; i < 256; i++)
6381    if (XOR (islower (i), ISLOWER (i))
6382	|| toupper (i) != TOUPPER (i))
6383      return 2;
6384  return 0;
6385}
6386_ACEOF
6387if ac_fn_c_try_run "$LINENO"; then :
6388
6389else
6390  ac_cv_header_stdc=no
6391fi
6392rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6393  conftest.$ac_objext conftest.beam conftest.$ac_ext
6394fi
6395
6396fi
6397fi
6398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6399$as_echo "$ac_cv_header_stdc" >&6; }
6400if test $ac_cv_header_stdc = yes; then
6401
6402$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6403
6404fi
6405
6406
6407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6408$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6409if ${am_cv_langinfo_codeset+:} false; then :
6410  $as_echo_n "(cached) " >&6
6411else
6412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413/* end confdefs.h.  */
6414#include <langinfo.h>
6415int
6416main ()
6417{
6418char* cs = nl_langinfo(CODESET);
6419  ;
6420  return 0;
6421}
6422_ACEOF
6423if ac_fn_c_try_link "$LINENO"; then :
6424  am_cv_langinfo_codeset=yes
6425else
6426  am_cv_langinfo_codeset=no
6427fi
6428rm -f core conftest.err conftest.$ac_objext \
6429    conftest$ac_exeext conftest.$ac_ext
6430
6431fi
6432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6433$as_echo "$am_cv_langinfo_codeset" >&6; }
6434  if test $am_cv_langinfo_codeset = yes; then
6435
6436$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6437
6438  fi
6439
6440# If we haven't got the data from the intl directory,
6441# assume NLS is disabled.
6442USE_NLS=no
6443LIBINTL=
6444LIBINTL_DEP=
6445INCINTL=
6446XGETTEXT=
6447GMSGFMT=
6448POSUB=
6449
6450if test -f  ../intl/config.intl; then
6451  .  ../intl/config.intl
6452fi
6453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6454$as_echo_n "checking whether NLS is requested... " >&6; }
6455if test x"$USE_NLS" != xyes; then
6456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457$as_echo "no" >&6; }
6458else
6459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6460$as_echo "yes" >&6; }
6461
6462$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6463
6464
6465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6466$as_echo_n "checking for catalogs to be installed... " >&6; }
6467  # Look for .po and .gmo files in the source directory.
6468  CATALOGS=
6469  XLINGUAS=
6470  for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
6471    # If there aren't any .gmo files the shell will give us the
6472    # literal string "../path/to/srcdir/po/*.gmo" which has to be
6473    # weeded out.
6474    case "$cat" in *\**)
6475      continue;;
6476    esac
6477    # The quadruple backslash is collapsed to a double backslash
6478    # by the backticks, then collapsed again by the double quotes,
6479    # leaving us with one backslash in the sed expression (right
6480    # before the dot that mustn't act as a wildcard).
6481    cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6482    lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
6483    # The user is allowed to set LINGUAS to a list of languages to
6484    # install catalogs for.  If it's empty that means "all of them."
6485    if test "x$LINGUAS" = x; then
6486      CATALOGS="$CATALOGS $cat"
6487      XLINGUAS="$XLINGUAS $lang"
6488    else
6489      case "$LINGUAS" in *$lang*)
6490        CATALOGS="$CATALOGS $cat"
6491        XLINGUAS="$XLINGUAS $lang"
6492        ;;
6493      esac
6494    fi
6495  done
6496  LINGUAS="$XLINGUAS"
6497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6498$as_echo "$LINGUAS" >&6; }
6499
6500
6501    DATADIRNAME=share
6502
6503  INSTOBJEXT=.mo
6504
6505  GENCAT=gencat
6506
6507  CATOBJEXT=.gmo
6508
6509fi
6510
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
6512$as_echo_n "checking for uchar... " >&6; }
6513if ${gcc_cv_type_uchar+:} false; then :
6514  $as_echo_n "(cached) " >&6
6515else
6516  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517/* end confdefs.h.  */
6518
6519#include <sys/types.h>
6520
6521int
6522main ()
6523{
6524if ((uchar *)0) return 0;
6525 if (sizeof(uchar)) return 0;
6526  ;
6527  return 0;
6528}
6529_ACEOF
6530if ac_fn_c_try_compile "$LINENO"; then :
6531  ac_cv_type_uchar=yes
6532else
6533  ac_cv_type_uchar=no
6534fi
6535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6536fi
6537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
6538$as_echo "$gcc_cv_type_uchar" >&6; }
6539if test $ac_cv_type_uchar = yes; then
6540
6541$as_echo "#define HAVE_UCHAR 1" >>confdefs.h
6542
6543fi
6544
6545# g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
6546# iconv() prototype.
6547ac_ext=cpp
6548ac_cpp='$CXXCPP $CPPFLAGS'
6549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6552
6553
6554      if test "X$prefix" = "XNONE"; then
6555    acl_final_prefix="$ac_default_prefix"
6556  else
6557    acl_final_prefix="$prefix"
6558  fi
6559  if test "X$exec_prefix" = "XNONE"; then
6560    acl_final_exec_prefix='${prefix}'
6561  else
6562    acl_final_exec_prefix="$exec_prefix"
6563  fi
6564  acl_save_prefix="$prefix"
6565  prefix="$acl_final_prefix"
6566  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6567  prefix="$acl_save_prefix"
6568
6569
6570# Check whether --with-gnu-ld was given.
6571if test "${with_gnu_ld+set}" = set; then :
6572  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6573else
6574  with_gnu_ld=no
6575fi
6576
6577# Prepare PATH_SEPARATOR.
6578# The user is always right.
6579if test "${PATH_SEPARATOR+set}" != set; then
6580  echo "#! /bin/sh" >conf$$.sh
6581  echo  "exit 0"   >>conf$$.sh
6582  chmod +x conf$$.sh
6583  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6584    PATH_SEPARATOR=';'
6585  else
6586    PATH_SEPARATOR=:
6587  fi
6588  rm -f conf$$.sh
6589fi
6590ac_prog=ld
6591if test "$GCC" = yes; then
6592  # Check if gcc -print-prog-name=ld gives a path.
6593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6594$as_echo_n "checking for ld used by GCC... " >&6; }
6595  case $host in
6596  *-*-mingw*)
6597    # gcc leaves a trailing carriage return which upsets mingw
6598    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6599  *)
6600    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6601  esac
6602  case $ac_prog in
6603    # Accept absolute paths.
6604    [\\/]* | [A-Za-z]:[\\/]*)
6605      re_direlt='/[^/][^/]*/\.\./'
6606      # Canonicalize the path of ld
6607      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
6608      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6609	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
6610      done
6611      test -z "$LD" && LD="$ac_prog"
6612      ;;
6613  "")
6614    # If it fails, then pretend we aren't using GCC.
6615    ac_prog=ld
6616    ;;
6617  *)
6618    # If it is relative, then search for the first ld in PATH.
6619    with_gnu_ld=unknown
6620    ;;
6621  esac
6622elif test "$with_gnu_ld" = yes; then
6623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6624$as_echo_n "checking for GNU ld... " >&6; }
6625else
6626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6627$as_echo_n "checking for non-GNU ld... " >&6; }
6628fi
6629if ${acl_cv_path_LD+:} false; then :
6630  $as_echo_n "(cached) " >&6
6631else
6632  if test -z "$LD"; then
6633  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6634  for ac_dir in $PATH; do
6635    test -z "$ac_dir" && ac_dir=.
6636    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6637      acl_cv_path_LD="$ac_dir/$ac_prog"
6638      # Check to see if the program is GNU ld.  I'd rather use --version,
6639      # but apparently some GNU ld's only accept -v.
6640      # Break only if it was the GNU/non-GNU ld that we prefer.
6641      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
6642	test "$with_gnu_ld" != no && break
6643      else
6644	test "$with_gnu_ld" != yes && break
6645      fi
6646    fi
6647  done
6648  IFS="$ac_save_ifs"
6649else
6650  acl_cv_path_LD="$LD" # Let the user override the test with a path.
6651fi
6652fi
6653
6654LD="$acl_cv_path_LD"
6655if test -n "$LD"; then
6656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6657$as_echo "$LD" >&6; }
6658else
6659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660$as_echo "no" >&6; }
6661fi
6662test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6664$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6665if ${acl_cv_prog_gnu_ld+:} false; then :
6666  $as_echo_n "(cached) " >&6
6667else
6668  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6669if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
6670  acl_cv_prog_gnu_ld=yes
6671else
6672  acl_cv_prog_gnu_ld=no
6673fi
6674fi
6675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6676$as_echo "$acl_cv_prog_gnu_ld" >&6; }
6677with_gnu_ld=$acl_cv_prog_gnu_ld
6678
6679
6680
6681                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6682$as_echo_n "checking for shared library run path origin... " >&6; }
6683if ${acl_cv_rpath+:} false; then :
6684  $as_echo_n "(cached) " >&6
6685else
6686
6687    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
6688    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6689    . ./conftest.sh
6690    rm -f ./conftest.sh
6691    acl_cv_rpath=done
6692
6693fi
6694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6695$as_echo "$acl_cv_rpath" >&6; }
6696  wl="$acl_cv_wl"
6697  libext="$acl_cv_libext"
6698  shlibext="$acl_cv_shlibext"
6699  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
6700  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
6701  hardcode_direct="$acl_cv_hardcode_direct"
6702  hardcode_minus_L="$acl_cv_hardcode_minus_L"
6703    # Check whether --enable-rpath was given.
6704if test "${enable_rpath+set}" = set; then :
6705  enableval=$enable_rpath; :
6706else
6707  enable_rpath=yes
6708fi
6709
6710
6711
6712
6713
6714
6715
6716
6717    use_additional=yes
6718
6719  acl_save_prefix="$prefix"
6720  prefix="$acl_final_prefix"
6721  acl_save_exec_prefix="$exec_prefix"
6722  exec_prefix="$acl_final_exec_prefix"
6723
6724    eval additional_includedir=\"$includedir\"
6725    eval additional_libdir=\"$libdir\"
6726
6727  exec_prefix="$acl_save_exec_prefix"
6728  prefix="$acl_save_prefix"
6729
6730
6731# Check whether --with-libiconv-prefix was given.
6732if test "${with_libiconv_prefix+set}" = set; then :
6733  withval=$with_libiconv_prefix;
6734    if test "X$withval" = "Xno"; then
6735      use_additional=no
6736    else
6737      if test "X$withval" = "X"; then
6738
6739  acl_save_prefix="$prefix"
6740  prefix="$acl_final_prefix"
6741  acl_save_exec_prefix="$exec_prefix"
6742  exec_prefix="$acl_final_exec_prefix"
6743
6744          eval additional_includedir=\"$includedir\"
6745          eval additional_libdir=\"$libdir\"
6746
6747  exec_prefix="$acl_save_exec_prefix"
6748  prefix="$acl_save_prefix"
6749
6750      else
6751        additional_includedir="$withval/include"
6752        additional_libdir="$withval/lib"
6753      fi
6754    fi
6755
6756fi
6757
6758
6759# Check whether --with-libiconv-type was given.
6760if test "${with_libiconv_type+set}" = set; then :
6761  withval=$with_libiconv_type;  with_libiconv_type=$withval
6762else
6763   with_libiconv_type=auto
6764fi
6765
6766  lib_type=`eval echo \$with_libiconv_type`
6767
6768      LIBICONV=
6769  LTLIBICONV=
6770  INCICONV=
6771  rpathdirs=
6772  ltrpathdirs=
6773  names_already_handled=
6774  names_next_round='iconv '
6775  while test -n "$names_next_round"; do
6776    names_this_round="$names_next_round"
6777    names_next_round=
6778    for name in $names_this_round; do
6779      already_handled=
6780      for n in $names_already_handled; do
6781        if test "$n" = "$name"; then
6782          already_handled=yes
6783          break
6784        fi
6785      done
6786      if test -z "$already_handled"; then
6787        names_already_handled="$names_already_handled $name"
6788                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6789        eval value=\"\$HAVE_LIB$uppername\"
6790        if test -n "$value"; then
6791          if test "$value" = yes; then
6792            eval value=\"\$LIB$uppername\"
6793            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
6794            eval value=\"\$LTLIB$uppername\"
6795            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
6796          else
6797                                    :
6798          fi
6799        else
6800                              found_dir=
6801          found_la=
6802          found_so=
6803          found_a=
6804          if test $use_additional = yes; then
6805            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
6806              found_dir="$additional_libdir"
6807              found_so="$additional_libdir/lib$name.$shlibext"
6808              if test -f "$additional_libdir/lib$name.la"; then
6809                found_la="$additional_libdir/lib$name.la"
6810              fi
6811            elif test x$lib_type != xshared; then
6812              if test -f "$additional_libdir/lib$name.$libext"; then
6813                found_dir="$additional_libdir"
6814                found_a="$additional_libdir/lib$name.$libext"
6815                if test -f "$additional_libdir/lib$name.la"; then
6816                  found_la="$additional_libdir/lib$name.la"
6817                fi
6818              fi
6819            fi
6820          fi
6821          if test "X$found_dir" = "X"; then
6822            for x in $LDFLAGS $LTLIBICONV; do
6823
6824  acl_save_prefix="$prefix"
6825  prefix="$acl_final_prefix"
6826  acl_save_exec_prefix="$exec_prefix"
6827  exec_prefix="$acl_final_exec_prefix"
6828  eval x=\"$x\"
6829  exec_prefix="$acl_save_exec_prefix"
6830  prefix="$acl_save_prefix"
6831
6832              case "$x" in
6833                -L*)
6834                  dir=`echo "X$x" | sed -e 's/^X-L//'`
6835                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
6836                    found_dir="$dir"
6837                    found_so="$dir/lib$name.$shlibext"
6838                    if test -f "$dir/lib$name.la"; then
6839                      found_la="$dir/lib$name.la"
6840                    fi
6841                  elif test x$lib_type != xshared; then
6842                    if test -f "$dir/lib$name.$libext"; then
6843                      found_dir="$dir"
6844                      found_a="$dir/lib$name.$libext"
6845                      if test -f "$dir/lib$name.la"; then
6846                        found_la="$dir/lib$name.la"
6847                      fi
6848                    fi
6849                  fi
6850                  ;;
6851              esac
6852              if test "X$found_dir" != "X"; then
6853                break
6854              fi
6855            done
6856          fi
6857          if test "X$found_dir" != "X"; then
6858                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6859            if test "X$found_so" != "X"; then
6860                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
6861                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6862              else
6863                                                                                haveit=
6864                for x in $ltrpathdirs; do
6865                  if test "X$x" = "X$found_dir"; then
6866                    haveit=yes
6867                    break
6868                  fi
6869                done
6870                if test -z "$haveit"; then
6871                  ltrpathdirs="$ltrpathdirs $found_dir"
6872                fi
6873                                if test "$hardcode_direct" = yes; then
6874                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6875                else
6876                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6877                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6878                                                            haveit=
6879                    for x in $rpathdirs; do
6880                      if test "X$x" = "X$found_dir"; then
6881                        haveit=yes
6882                        break
6883                      fi
6884                    done
6885                    if test -z "$haveit"; then
6886                      rpathdirs="$rpathdirs $found_dir"
6887                    fi
6888                  else
6889                                                                                haveit=
6890                    for x in $LDFLAGS $LIBICONV; do
6891
6892  acl_save_prefix="$prefix"
6893  prefix="$acl_final_prefix"
6894  acl_save_exec_prefix="$exec_prefix"
6895  exec_prefix="$acl_final_exec_prefix"
6896  eval x=\"$x\"
6897  exec_prefix="$acl_save_exec_prefix"
6898  prefix="$acl_save_prefix"
6899
6900                      if test "X$x" = "X-L$found_dir"; then
6901                        haveit=yes
6902                        break
6903                      fi
6904                    done
6905                    if test -z "$haveit"; then
6906                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6907                    fi
6908                    if test "$hardcode_minus_L" != no; then
6909                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6910                    else
6911                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6912                    fi
6913                  fi
6914                fi
6915              fi
6916            else
6917              if test "X$found_a" != "X"; then
6918                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
6919              else
6920                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6921              fi
6922            fi
6923                        additional_includedir=
6924            case "$found_dir" in
6925              */lib | */lib/)
6926                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6927                additional_includedir="$basedir/include"
6928                ;;
6929            esac
6930            if test "X$additional_includedir" != "X"; then
6931                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
6932                haveit=
6933                if test "X$additional_includedir" = "X/usr/local/include"; then
6934                  if test -n "$GCC"; then
6935                    case $host_os in
6936                      linux*) haveit=yes;;
6937                    esac
6938                  fi
6939                fi
6940                if test -z "$haveit"; then
6941                  for x in $CPPFLAGS $INCICONV; do
6942
6943  acl_save_prefix="$prefix"
6944  prefix="$acl_final_prefix"
6945  acl_save_exec_prefix="$exec_prefix"
6946  exec_prefix="$acl_final_exec_prefix"
6947  eval x=\"$x\"
6948  exec_prefix="$acl_save_exec_prefix"
6949  prefix="$acl_save_prefix"
6950
6951                    if test "X$x" = "X-I$additional_includedir"; then
6952                      haveit=yes
6953                      break
6954                    fi
6955                  done
6956                  if test -z "$haveit"; then
6957                    if test -d "$additional_includedir"; then
6958                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6959                    fi
6960                  fi
6961                fi
6962              fi
6963            fi
6964                        if test -n "$found_la"; then
6965                                                        save_libdir="$libdir"
6966              case "$found_la" in
6967                */* | *\\*) . "$found_la" ;;
6968                *) . "./$found_la" ;;
6969              esac
6970              libdir="$save_libdir"
6971                            for dep in $dependency_libs; do
6972                case "$dep" in
6973                  -L*)
6974                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6975                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
6976                      haveit=
6977                      if test "X$additional_libdir" = "X/usr/local/lib"; then
6978                        if test -n "$GCC"; then
6979                          case $host_os in
6980                            linux*) haveit=yes;;
6981                          esac
6982                        fi
6983                      fi
6984                      if test -z "$haveit"; then
6985                        haveit=
6986                        for x in $LDFLAGS $LIBICONV; do
6987
6988  acl_save_prefix="$prefix"
6989  prefix="$acl_final_prefix"
6990  acl_save_exec_prefix="$exec_prefix"
6991  exec_prefix="$acl_final_exec_prefix"
6992  eval x=\"$x\"
6993  exec_prefix="$acl_save_exec_prefix"
6994  prefix="$acl_save_prefix"
6995
6996                          if test "X$x" = "X-L$additional_libdir"; then
6997                            haveit=yes
6998                            break
6999                          fi
7000                        done
7001                        if test -z "$haveit"; then
7002                          if test -d "$additional_libdir"; then
7003                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7004                          fi
7005                        fi
7006                        haveit=
7007                        for x in $LDFLAGS $LTLIBICONV; do
7008
7009  acl_save_prefix="$prefix"
7010  prefix="$acl_final_prefix"
7011  acl_save_exec_prefix="$exec_prefix"
7012  exec_prefix="$acl_final_exec_prefix"
7013  eval x=\"$x\"
7014  exec_prefix="$acl_save_exec_prefix"
7015  prefix="$acl_save_prefix"
7016
7017                          if test "X$x" = "X-L$additional_libdir"; then
7018                            haveit=yes
7019                            break
7020                          fi
7021                        done
7022                        if test -z "$haveit"; then
7023                          if test -d "$additional_libdir"; then
7024                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7025                          fi
7026                        fi
7027                      fi
7028                    fi
7029                    ;;
7030                  -R*)
7031                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
7032                    if test "$enable_rpath" != no; then
7033                                                                  haveit=
7034                      for x in $rpathdirs; do
7035                        if test "X$x" = "X$dir"; then
7036                          haveit=yes
7037                          break
7038                        fi
7039                      done
7040                      if test -z "$haveit"; then
7041                        rpathdirs="$rpathdirs $dir"
7042                      fi
7043                                                                  haveit=
7044                      for x in $ltrpathdirs; do
7045                        if test "X$x" = "X$dir"; then
7046                          haveit=yes
7047                          break
7048                        fi
7049                      done
7050                      if test -z "$haveit"; then
7051                        ltrpathdirs="$ltrpathdirs $dir"
7052                      fi
7053                    fi
7054                    ;;
7055                  -l*)
7056                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7057                    ;;
7058                  *.la)
7059                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7060                    ;;
7061                  *)
7062                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7063                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7064                    ;;
7065                esac
7066              done
7067            fi
7068          else
7069                                                            if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
7070              LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7071              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7072            else
7073              LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
7074              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
7075            fi
7076          fi
7077        fi
7078      fi
7079    done
7080  done
7081  if test "X$rpathdirs" != "X"; then
7082    if test -n "$hardcode_libdir_separator"; then
7083                        alldirs=
7084      for found_dir in $rpathdirs; do
7085        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7086      done
7087            acl_save_libdir="$libdir"
7088      libdir="$alldirs"
7089      eval flag=\"$hardcode_libdir_flag_spec\"
7090      libdir="$acl_save_libdir"
7091      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7092    else
7093            for found_dir in $rpathdirs; do
7094        acl_save_libdir="$libdir"
7095        libdir="$found_dir"
7096        eval flag=\"$hardcode_libdir_flag_spec\"
7097        libdir="$acl_save_libdir"
7098        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7099      done
7100    fi
7101  fi
7102  if test "X$ltrpathdirs" != "X"; then
7103            for found_dir in $ltrpathdirs; do
7104      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7105    done
7106  fi
7107
7108
7109
7110
7111
7112
7113
7114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7115$as_echo_n "checking for iconv... " >&6; }
7116if ${am_cv_func_iconv+:} false; then :
7117  $as_echo_n "(cached) " >&6
7118else
7119
7120    am_cv_func_iconv="no, consider installing GNU libiconv"
7121    am_cv_lib_iconv=no
7122                    am_save_CPPFLAGS="$CPPFLAGS"
7123    CPPFLAGS="$CPPFLAGS $INCICONV"
7124    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7125/* end confdefs.h.  */
7126#include <stdlib.h>
7127#include <iconv.h>
7128int
7129main ()
7130{
7131iconv_t cd = iconv_open("","");
7132       iconv(cd,NULL,NULL,NULL,NULL);
7133       iconv_close(cd);
7134  ;
7135  return 0;
7136}
7137_ACEOF
7138if ac_fn_cxx_try_link "$LINENO"; then :
7139  am_cv_func_iconv=yes
7140fi
7141rm -f core conftest.err conftest.$ac_objext \
7142    conftest$ac_exeext conftest.$ac_ext
7143    CPPFLAGS="$am_save_CPPFLAGS"
7144
7145    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
7146      for _libs in .libs _libs; do
7147        am_save_CPPFLAGS="$CPPFLAGS"
7148        am_save_LIBS="$LIBS"
7149        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
7150        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
7151        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152/* end confdefs.h.  */
7153#include <stdlib.h>
7154#include <iconv.h>
7155int
7156main ()
7157{
7158iconv_t cd = iconv_open("","");
7159           iconv(cd,NULL,NULL,NULL,NULL);
7160           iconv_close(cd);
7161  ;
7162  return 0;
7163}
7164_ACEOF
7165if ac_fn_cxx_try_link "$LINENO"; then :
7166  INCICONV="-I../libiconv/include"
7167          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
7168          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
7169          am_cv_lib_iconv=yes
7170          am_cv_func_iconv=yes
7171fi
7172rm -f core conftest.err conftest.$ac_objext \
7173    conftest$ac_exeext conftest.$ac_ext
7174        CPPFLAGS="$am_save_CPPFLAGS"
7175        LIBS="$am_save_LIBS"
7176        if test "$am_cv_func_iconv" = "yes"; then
7177          break
7178        fi
7179      done
7180    fi
7181
7182    if test "$am_cv_func_iconv" != yes; then
7183      am_save_CPPFLAGS="$CPPFLAGS"
7184      am_save_LIBS="$LIBS"
7185      CPPFLAGS="$CPPFLAGS $INCICONV"
7186      LIBS="$LIBS $LIBICONV"
7187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188/* end confdefs.h.  */
7189#include <stdlib.h>
7190#include <iconv.h>
7191int
7192main ()
7193{
7194iconv_t cd = iconv_open("","");
7195         iconv(cd,NULL,NULL,NULL,NULL);
7196         iconv_close(cd);
7197  ;
7198  return 0;
7199}
7200_ACEOF
7201if ac_fn_cxx_try_link "$LINENO"; then :
7202  am_cv_lib_iconv=yes
7203        am_cv_func_iconv=yes
7204fi
7205rm -f core conftest.err conftest.$ac_objext \
7206    conftest$ac_exeext conftest.$ac_ext
7207      CPPFLAGS="$am_save_CPPFLAGS"
7208      LIBS="$am_save_LIBS"
7209    fi
7210
7211fi
7212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7213$as_echo "$am_cv_func_iconv" >&6; }
7214  if test "$am_cv_func_iconv" = yes; then
7215
7216$as_echo "#define HAVE_ICONV 1" >>confdefs.h
7217
7218  fi
7219  if test "$am_cv_lib_iconv" = yes; then
7220
7221  for element in $INCICONV; do
7222    haveit=
7223    for x in $CPPFLAGS; do
7224
7225  acl_save_prefix="$prefix"
7226  prefix="$acl_final_prefix"
7227  acl_save_exec_prefix="$exec_prefix"
7228  exec_prefix="$acl_final_exec_prefix"
7229  eval x=\"$x\"
7230  exec_prefix="$acl_save_exec_prefix"
7231  prefix="$acl_save_prefix"
7232
7233      if test "X$x" = "X$element"; then
7234        haveit=yes
7235        break
7236      fi
7237    done
7238    if test -z "$haveit"; then
7239      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7240    fi
7241  done
7242
7243    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7244$as_echo_n "checking how to link with libiconv... " >&6; }
7245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7246$as_echo "$LIBICONV" >&6; }
7247  else
7248    LIBICONV=
7249    LTLIBICONV=
7250  fi
7251
7252
7253
7254  if test "$am_cv_func_iconv" = yes; then
7255    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7256$as_echo_n "checking for iconv declaration... " >&6; }
7257    if ${am_cv_proto_iconv+:} false; then :
7258  $as_echo_n "(cached) " >&6
7259else
7260
7261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262/* end confdefs.h.  */
7263
7264#include <stdlib.h>
7265#include <iconv.h>
7266extern
7267#ifdef __cplusplus
7268"C"
7269#endif
7270#if defined(__STDC__) || defined(__cplusplus)
7271size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7272#else
7273size_t iconv();
7274#endif
7275
7276int
7277main ()
7278{
7279
7280  ;
7281  return 0;
7282}
7283_ACEOF
7284if ac_fn_cxx_try_compile "$LINENO"; then :
7285  am_cv_proto_iconv_arg1=""
7286else
7287  am_cv_proto_iconv_arg1="const"
7288fi
7289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7290      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7291fi
7292
7293    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7294    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7295         }$am_cv_proto_iconv" >&5
7296$as_echo "${ac_t:-
7297         }$am_cv_proto_iconv" >&6; }
7298
7299cat >>confdefs.h <<_ACEOF
7300#define ICONV_CONST $am_cv_proto_iconv_arg1
7301_ACEOF
7302
7303  fi
7304
7305ac_ext=c
7306ac_cpp='$CPP $CPPFLAGS'
7307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7309ac_compiler_gnu=$ac_cv_c_compiler_gnu
7310
7311
7312# More defines and substitutions.
7313PACKAGE="$PACKAGE_TARNAME"
7314
7315cat >>confdefs.h <<_ACEOF
7316#define PACKAGE "$PACKAGE"
7317_ACEOF
7318
7319
7320
7321if test "x$enable_nls" != xno; then
7322  USED_CATALOGS='$(CATALOGS)'
7323else
7324  USED_CATALOGS=
7325fi
7326
7327
7328# Check whether --enable-maintainer-mode was given.
7329if test "${enable_maintainer_mode+set}" = set; then :
7330  enableval=$enable_maintainer_mode;
7331else
7332  enable_maintainer_mode=no
7333fi
7334
7335
7336if test "x$enable_maintainer_mode" = xno; then
7337  MAINT='#'
7338else
7339  MAINT=
7340fi
7341
7342
7343# Enable expensive internal checks
7344is_release=
7345if test -f $srcdir/../gcc/DEV-PHASE \
7346   && test x"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental; then
7347  is_release=yes
7348fi
7349
7350# Check whether --enable-checking was given.
7351if test "${enable_checking+set}" = set; then :
7352  enableval=$enable_checking; ac_checking_flags="${enableval}"
7353else
7354
7355# Determine the default checks.
7356if test x$is_release = x ; then
7357  ac_checking_flags=yes
7358else
7359  ac_checking_flags=release
7360fi
7361fi
7362
7363IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="$IFS,"
7364for check in release $ac_checking_flags
7365do
7366	case $check in
7367	# these set all the flags to specific states
7368	yes|all) ac_checking=1 ; ac_assert_checking=1 ; ac_valgrind_checking= ;;
7369	no|none) ac_checking= ; ac_assert_checking= ; ac_valgrind_checking= ;;
7370	release) ac_checking= ; ac_assert_checking=1 ; ac_valgrind_checking= ;;
7371	# these enable particular checks
7372	assert) ac_assert_checking=1 ;;
7373	misc) ac_checking=1 ;;
7374	valgrind) ac_valgrind_checking=1 ;;
7375	# accept
7376	*) ;;
7377	esac
7378done
7379IFS="$ac_save_IFS"
7380
7381if test x$ac_checking != x ; then
7382
7383$as_echo "#define CHECKING_P 1" >>confdefs.h
7384
7385else
7386  $as_echo "#define CHECKING_P 0" >>confdefs.h
7387
7388fi
7389
7390if test x$ac_assert_checking != x ; then
7391
7392$as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
7393
7394fi
7395
7396if test x$ac_valgrind_checking != x ; then
7397
7398$as_echo "#define ENABLE_VALGRIND_CHECKING 1" >>confdefs.h
7399
7400fi
7401
7402# Check whether --enable-canonical-system-headers was given.
7403if test "${enable_canonical_system_headers+set}" = set; then :
7404  enableval=$enable_canonical_system_headers;
7405else
7406  enable_canonical_system_headers=yes
7407fi
7408
7409if test $enable_canonical_system_headers != no; then
7410
7411$as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
7412
7413fi
7414
7415case $target in
7416  i?86-* | x86_64-*)
7417    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418/* end confdefs.h.  */
7419
7420int
7421main ()
7422{
7423asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
7424  ;
7425  return 0;
7426}
7427_ACEOF
7428if ac_fn_c_try_compile "$LINENO"; then :
7429
7430$as_echo "#define HAVE_SSE4 1" >>confdefs.h
7431
7432fi
7433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7434esac
7435
7436# Enable --enable-host-shared.
7437# Check whether --enable-host-shared was given.
7438if test "${enable_host_shared+set}" = set; then :
7439  enableval=$enable_host_shared; PICFLAG=-fPIC
7440else
7441  PICFLAG=
7442fi
7443
7444
7445
7446# Check whether --enable-valgrind-annotations was given.
7447if test "${enable_valgrind_annotations+set}" = set; then :
7448  enableval=$enable_valgrind_annotations;
7449else
7450  enable_valgrind_annotations=no
7451fi
7452
7453if test x$enable_valgrind_annotations != xno \
7454    || test x$ac_valgrind_checking != x; then
7455  if (test $have_valgrind_h = no \
7456      && test $gcc_cv_header_memcheck_h = no \
7457      && test $gcc_cv_header_valgrind_memcheck_h = no); then
7458    as_fn_error $? "*** Can't find valgrind/memcheck.h, memcheck.h or valgrind.h" "$LINENO" 5
7459  fi
7460
7461$as_echo "#define ENABLE_VALGRIND_ANNOTATIONS 1" >>confdefs.h
7462
7463fi
7464
7465# Output.
7466
7467ac_config_headers="$ac_config_headers config.h:config.in"
7468
7469ac_config_files="$ac_config_files Makefile"
7470
7471cat >confcache <<\_ACEOF
7472# This file is a shell script that caches the results of configure
7473# tests run on this system so they can be shared between configure
7474# scripts and configure runs, see configure's option --config-cache.
7475# It is not useful on other systems.  If it contains results you don't
7476# want to keep, you may remove or edit it.
7477#
7478# config.status only pays attention to the cache file if you give it
7479# the --recheck option to rerun configure.
7480#
7481# `ac_cv_env_foo' variables (set or unset) will be overridden when
7482# loading this file, other *unset* `ac_cv_foo' will be assigned the
7483# following values.
7484
7485_ACEOF
7486
7487# The following way of writing the cache mishandles newlines in values,
7488# but we know of no workaround that is simple, portable, and efficient.
7489# So, we kill variables containing newlines.
7490# Ultrix sh set writes to stderr and can't be redirected directly,
7491# and sets the high bit in the cache file unless we assign to the vars.
7492(
7493  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7494    eval ac_val=\$$ac_var
7495    case $ac_val in #(
7496    *${as_nl}*)
7497      case $ac_var in #(
7498      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7499$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7500      esac
7501      case $ac_var in #(
7502      _ | IFS | as_nl) ;; #(
7503      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7504      *) { eval $ac_var=; unset $ac_var;} ;;
7505      esac ;;
7506    esac
7507  done
7508
7509  (set) 2>&1 |
7510    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7511    *${as_nl}ac_space=\ *)
7512      # `set' does not quote correctly, so add quotes: double-quote
7513      # substitution turns \\\\ into \\, and sed turns \\ into \.
7514      sed -n \
7515	"s/'/'\\\\''/g;
7516	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7517      ;; #(
7518    *)
7519      # `set' quotes correctly as required by POSIX, so do not add quotes.
7520      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7521      ;;
7522    esac |
7523    sort
7524) |
7525  sed '
7526     /^ac_cv_env_/b end
7527     t clear
7528     :clear
7529     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7530     t end
7531     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7532     :end' >>confcache
7533if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7534  if test -w "$cache_file"; then
7535    if test "x$cache_file" != "x/dev/null"; then
7536      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7537$as_echo "$as_me: updating cache $cache_file" >&6;}
7538      if test ! -f "$cache_file" || test -h "$cache_file"; then
7539	cat confcache >"$cache_file"
7540      else
7541        case $cache_file in #(
7542        */* | ?:*)
7543	  mv -f confcache "$cache_file"$$ &&
7544	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7545        *)
7546	  mv -f confcache "$cache_file" ;;
7547	esac
7548      fi
7549    fi
7550  else
7551    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7552$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7553  fi
7554fi
7555rm -f confcache
7556
7557test "x$prefix" = xNONE && prefix=$ac_default_prefix
7558# Let make expand exec_prefix.
7559test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7560
7561DEFS=-DHAVE_CONFIG_H
7562
7563ac_libobjs=
7564ac_ltlibobjs=
7565U=
7566for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7567  # 1. Remove the extension, and $U if already installed.
7568  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7569  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7570  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7571  #    will be set to the directory where LIBOBJS objects are built.
7572  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7573  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7574done
7575LIBOBJS=$ac_libobjs
7576
7577LTLIBOBJS=$ac_ltlibobjs
7578
7579
7580
7581
7582: "${CONFIG_STATUS=./config.status}"
7583ac_write_fail=0
7584ac_clean_files_save=$ac_clean_files
7585ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7586{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7587$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7588as_write_fail=0
7589cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7590#! $SHELL
7591# Generated by $as_me.
7592# Run this file to recreate the current configuration.
7593# Compiler output produced by configure, useful for debugging
7594# configure, is in config.log if it exists.
7595
7596debug=false
7597ac_cs_recheck=false
7598ac_cs_silent=false
7599
7600SHELL=\${CONFIG_SHELL-$SHELL}
7601export SHELL
7602_ASEOF
7603cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7604## -------------------- ##
7605## M4sh Initialization. ##
7606## -------------------- ##
7607
7608# Be more Bourne compatible
7609DUALCASE=1; export DUALCASE # for MKS sh
7610if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7611  emulate sh
7612  NULLCMD=:
7613  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7614  # is contrary to our usage.  Disable this feature.
7615  alias -g '${1+"$@"}'='"$@"'
7616  setopt NO_GLOB_SUBST
7617else
7618  case `(set -o) 2>/dev/null` in #(
7619  *posix*) :
7620    set -o posix ;; #(
7621  *) :
7622     ;;
7623esac
7624fi
7625
7626
7627as_nl='
7628'
7629export as_nl
7630# Printing a long string crashes Solaris 7 /usr/bin/printf.
7631as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7632as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7633as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7634# Prefer a ksh shell builtin over an external printf program on Solaris,
7635# but without wasting forks for bash or zsh.
7636if test -z "$BASH_VERSION$ZSH_VERSION" \
7637    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7638  as_echo='print -r --'
7639  as_echo_n='print -rn --'
7640elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7641  as_echo='printf %s\n'
7642  as_echo_n='printf %s'
7643else
7644  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7645    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7646    as_echo_n='/usr/ucb/echo -n'
7647  else
7648    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7649    as_echo_n_body='eval
7650      arg=$1;
7651      case $arg in #(
7652      *"$as_nl"*)
7653	expr "X$arg" : "X\\(.*\\)$as_nl";
7654	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7655      esac;
7656      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7657    '
7658    export as_echo_n_body
7659    as_echo_n='sh -c $as_echo_n_body as_echo'
7660  fi
7661  export as_echo_body
7662  as_echo='sh -c $as_echo_body as_echo'
7663fi
7664
7665# The user is always right.
7666if test "${PATH_SEPARATOR+set}" != set; then
7667  PATH_SEPARATOR=:
7668  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7669    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7670      PATH_SEPARATOR=';'
7671  }
7672fi
7673
7674
7675# IFS
7676# We need space, tab and new line, in precisely that order.  Quoting is
7677# there to prevent editors from complaining about space-tab.
7678# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7679# splitting by setting IFS to empty value.)
7680IFS=" ""	$as_nl"
7681
7682# Find who we are.  Look in the path if we contain no directory separator.
7683as_myself=
7684case $0 in #((
7685  *[\\/]* ) as_myself=$0 ;;
7686  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687for as_dir in $PATH
7688do
7689  IFS=$as_save_IFS
7690  test -z "$as_dir" && as_dir=.
7691    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7692  done
7693IFS=$as_save_IFS
7694
7695     ;;
7696esac
7697# We did not find ourselves, most probably we were run as `sh COMMAND'
7698# in which case we are not to be found in the path.
7699if test "x$as_myself" = x; then
7700  as_myself=$0
7701fi
7702if test ! -f "$as_myself"; then
7703  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7704  exit 1
7705fi
7706
7707# Unset variables that we do not need and which cause bugs (e.g. in
7708# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7709# suppresses any "Segmentation fault" message there.  '((' could
7710# trigger a bug in pdksh 5.2.14.
7711for as_var in BASH_ENV ENV MAIL MAILPATH
7712do eval test x\${$as_var+set} = xset \
7713  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7714done
7715PS1='$ '
7716PS2='> '
7717PS4='+ '
7718
7719# NLS nuisances.
7720LC_ALL=C
7721export LC_ALL
7722LANGUAGE=C
7723export LANGUAGE
7724
7725# CDPATH.
7726(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7727
7728
7729# as_fn_error STATUS ERROR [LINENO LOG_FD]
7730# ----------------------------------------
7731# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7732# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7733# script with STATUS, using 1 if that was 0.
7734as_fn_error ()
7735{
7736  as_status=$1; test $as_status -eq 0 && as_status=1
7737  if test "$4"; then
7738    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7739    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7740  fi
7741  $as_echo "$as_me: error: $2" >&2
7742  as_fn_exit $as_status
7743} # as_fn_error
7744
7745
7746# as_fn_set_status STATUS
7747# -----------------------
7748# Set $? to STATUS, without forking.
7749as_fn_set_status ()
7750{
7751  return $1
7752} # as_fn_set_status
7753
7754# as_fn_exit STATUS
7755# -----------------
7756# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7757as_fn_exit ()
7758{
7759  set +e
7760  as_fn_set_status $1
7761  exit $1
7762} # as_fn_exit
7763
7764# as_fn_unset VAR
7765# ---------------
7766# Portably unset VAR.
7767as_fn_unset ()
7768{
7769  { eval $1=; unset $1;}
7770}
7771as_unset=as_fn_unset
7772# as_fn_append VAR VALUE
7773# ----------------------
7774# Append the text in VALUE to the end of the definition contained in VAR. Take
7775# advantage of any shell optimizations that allow amortized linear growth over
7776# repeated appends, instead of the typical quadratic growth present in naive
7777# implementations.
7778if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7779  eval 'as_fn_append ()
7780  {
7781    eval $1+=\$2
7782  }'
7783else
7784  as_fn_append ()
7785  {
7786    eval $1=\$$1\$2
7787  }
7788fi # as_fn_append
7789
7790# as_fn_arith ARG...
7791# ------------------
7792# Perform arithmetic evaluation on the ARGs, and store the result in the
7793# global $as_val. Take advantage of shells that can avoid forks. The arguments
7794# must be portable across $(()) and expr.
7795if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7796  eval 'as_fn_arith ()
7797  {
7798    as_val=$(( $* ))
7799  }'
7800else
7801  as_fn_arith ()
7802  {
7803    as_val=`expr "$@" || test $? -eq 1`
7804  }
7805fi # as_fn_arith
7806
7807
7808if expr a : '\(a\)' >/dev/null 2>&1 &&
7809   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7810  as_expr=expr
7811else
7812  as_expr=false
7813fi
7814
7815if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7816  as_basename=basename
7817else
7818  as_basename=false
7819fi
7820
7821if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7822  as_dirname=dirname
7823else
7824  as_dirname=false
7825fi
7826
7827as_me=`$as_basename -- "$0" ||
7828$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7829	 X"$0" : 'X\(//\)$' \| \
7830	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7831$as_echo X/"$0" |
7832    sed '/^.*\/\([^/][^/]*\)\/*$/{
7833	    s//\1/
7834	    q
7835	  }
7836	  /^X\/\(\/\/\)$/{
7837	    s//\1/
7838	    q
7839	  }
7840	  /^X\/\(\/\).*/{
7841	    s//\1/
7842	    q
7843	  }
7844	  s/.*/./; q'`
7845
7846# Avoid depending upon Character Ranges.
7847as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7848as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7849as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7850as_cr_digits='0123456789'
7851as_cr_alnum=$as_cr_Letters$as_cr_digits
7852
7853ECHO_C= ECHO_N= ECHO_T=
7854case `echo -n x` in #(((((
7855-n*)
7856  case `echo 'xy\c'` in
7857  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7858  xy)  ECHO_C='\c';;
7859  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7860       ECHO_T='	';;
7861  esac;;
7862*)
7863  ECHO_N='-n';;
7864esac
7865
7866rm -f conf$$ conf$$.exe conf$$.file
7867if test -d conf$$.dir; then
7868  rm -f conf$$.dir/conf$$.file
7869else
7870  rm -f conf$$.dir
7871  mkdir conf$$.dir 2>/dev/null
7872fi
7873if (echo >conf$$.file) 2>/dev/null; then
7874  if ln -s conf$$.file conf$$ 2>/dev/null; then
7875    as_ln_s='ln -s'
7876    # ... but there are two gotchas:
7877    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7878    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7879    # In both cases, we have to default to `cp -pR'.
7880    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7881      as_ln_s='cp -pR'
7882  elif ln conf$$.file conf$$ 2>/dev/null; then
7883    as_ln_s=ln
7884  else
7885    as_ln_s='cp -pR'
7886  fi
7887else
7888  as_ln_s='cp -pR'
7889fi
7890rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7891rmdir conf$$.dir 2>/dev/null
7892
7893
7894# as_fn_mkdir_p
7895# -------------
7896# Create "$as_dir" as a directory, including parents if necessary.
7897as_fn_mkdir_p ()
7898{
7899
7900  case $as_dir in #(
7901  -*) as_dir=./$as_dir;;
7902  esac
7903  test -d "$as_dir" || eval $as_mkdir_p || {
7904    as_dirs=
7905    while :; do
7906      case $as_dir in #(
7907      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7908      *) as_qdir=$as_dir;;
7909      esac
7910      as_dirs="'$as_qdir' $as_dirs"
7911      as_dir=`$as_dirname -- "$as_dir" ||
7912$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7913	 X"$as_dir" : 'X\(//\)[^/]' \| \
7914	 X"$as_dir" : 'X\(//\)$' \| \
7915	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7916$as_echo X"$as_dir" |
7917    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7918	    s//\1/
7919	    q
7920	  }
7921	  /^X\(\/\/\)[^/].*/{
7922	    s//\1/
7923	    q
7924	  }
7925	  /^X\(\/\/\)$/{
7926	    s//\1/
7927	    q
7928	  }
7929	  /^X\(\/\).*/{
7930	    s//\1/
7931	    q
7932	  }
7933	  s/.*/./; q'`
7934      test -d "$as_dir" && break
7935    done
7936    test -z "$as_dirs" || eval "mkdir $as_dirs"
7937  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7938
7939
7940} # as_fn_mkdir_p
7941if mkdir -p . 2>/dev/null; then
7942  as_mkdir_p='mkdir -p "$as_dir"'
7943else
7944  test -d ./-p && rmdir ./-p
7945  as_mkdir_p=false
7946fi
7947
7948
7949# as_fn_executable_p FILE
7950# -----------------------
7951# Test if FILE is an executable regular file.
7952as_fn_executable_p ()
7953{
7954  test -f "$1" && test -x "$1"
7955} # as_fn_executable_p
7956as_test_x='test -x'
7957as_executable_p=as_fn_executable_p
7958
7959# Sed expression to map a string onto a valid CPP name.
7960as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7961
7962# Sed expression to map a string onto a valid variable name.
7963as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7964
7965
7966exec 6>&1
7967## ----------------------------------- ##
7968## Main body of $CONFIG_STATUS script. ##
7969## ----------------------------------- ##
7970_ASEOF
7971test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7972
7973cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7974# Save the log message, to keep $0 and so on meaningful, and to
7975# report actual input values of CONFIG_FILES etc. instead of their
7976# values after options handling.
7977ac_log="
7978This file was extended by cpplib $as_me  , which was
7979generated by GNU Autoconf 2.69.  Invocation command line was
7980
7981  CONFIG_FILES    = $CONFIG_FILES
7982  CONFIG_HEADERS  = $CONFIG_HEADERS
7983  CONFIG_LINKS    = $CONFIG_LINKS
7984  CONFIG_COMMANDS = $CONFIG_COMMANDS
7985  $ $0 $@
7986
7987on `(hostname || uname -n) 2>/dev/null | sed 1q`
7988"
7989
7990_ACEOF
7991
7992case $ac_config_files in *"
7993"*) set x $ac_config_files; shift; ac_config_files=$*;;
7994esac
7995
7996case $ac_config_headers in *"
7997"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7998esac
7999
8000
8001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8002# Files that config.status was made for.
8003config_files="$ac_config_files"
8004config_headers="$ac_config_headers"
8005config_commands="$ac_config_commands"
8006
8007_ACEOF
8008
8009cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8010ac_cs_usage="\
8011\`$as_me' instantiates files and other configuration actions
8012from templates according to the current configuration.  Unless the files
8013and actions are specified as TAGs, all are instantiated by default.
8014
8015Usage: $0 [OPTION]... [TAG]...
8016
8017  -h, --help       print this help, then exit
8018  -V, --version    print version number and configuration settings, then exit
8019      --config     print configuration, then exit
8020  -q, --quiet, --silent
8021                   do not print progress messages
8022  -d, --debug      don't remove temporary files
8023      --recheck    update $as_me by reconfiguring in the same conditions
8024      --file=FILE[:TEMPLATE]
8025                   instantiate the configuration file FILE
8026      --header=FILE[:TEMPLATE]
8027                   instantiate the configuration header FILE
8028
8029Configuration files:
8030$config_files
8031
8032Configuration headers:
8033$config_headers
8034
8035Configuration commands:
8036$config_commands
8037
8038Report bugs to <gcc-bugs@gcc.gnu.org>."
8039
8040_ACEOF
8041cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8042ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8043ac_cs_version="\\
8044cpplib config.status
8045configured by $0, generated by GNU Autoconf 2.69,
8046  with options \\"\$ac_cs_config\\"
8047
8048Copyright (C) 2012 Free Software Foundation, Inc.
8049This config.status script is free software; the Free Software Foundation
8050gives unlimited permission to copy, distribute and modify it."
8051
8052ac_pwd='$ac_pwd'
8053srcdir='$srcdir'
8054INSTALL='$INSTALL'
8055test -n "\$AWK" || AWK=awk
8056_ACEOF
8057
8058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8059# The default lists apply if the user does not specify any file.
8060ac_need_defaults=:
8061while test $# != 0
8062do
8063  case $1 in
8064  --*=?*)
8065    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8066    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8067    ac_shift=:
8068    ;;
8069  --*=)
8070    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8071    ac_optarg=
8072    ac_shift=:
8073    ;;
8074  *)
8075    ac_option=$1
8076    ac_optarg=$2
8077    ac_shift=shift
8078    ;;
8079  esac
8080
8081  case $ac_option in
8082  # Handling of the options.
8083  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8084    ac_cs_recheck=: ;;
8085  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8086    $as_echo "$ac_cs_version"; exit ;;
8087  --config | --confi | --conf | --con | --co | --c )
8088    $as_echo "$ac_cs_config"; exit ;;
8089  --debug | --debu | --deb | --de | --d | -d )
8090    debug=: ;;
8091  --file | --fil | --fi | --f )
8092    $ac_shift
8093    case $ac_optarg in
8094    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8095    '') as_fn_error $? "missing file argument" ;;
8096    esac
8097    as_fn_append CONFIG_FILES " '$ac_optarg'"
8098    ac_need_defaults=false;;
8099  --header | --heade | --head | --hea )
8100    $ac_shift
8101    case $ac_optarg in
8102    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8103    esac
8104    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8105    ac_need_defaults=false;;
8106  --he | --h)
8107    # Conflict between --help and --header
8108    as_fn_error $? "ambiguous option: \`$1'
8109Try \`$0 --help' for more information.";;
8110  --help | --hel | -h )
8111    $as_echo "$ac_cs_usage"; exit ;;
8112  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8113  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8114    ac_cs_silent=: ;;
8115
8116  # This is an error.
8117  -*) as_fn_error $? "unrecognized option: \`$1'
8118Try \`$0 --help' for more information." ;;
8119
8120  *) as_fn_append ac_config_targets " $1"
8121     ac_need_defaults=false ;;
8122
8123  esac
8124  shift
8125done
8126
8127ac_configure_extra_args=
8128
8129if $ac_cs_silent; then
8130  exec 6>/dev/null
8131  ac_configure_extra_args="$ac_configure_extra_args --silent"
8132fi
8133
8134_ACEOF
8135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8136if \$ac_cs_recheck; then
8137  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8138  shift
8139  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8140  CONFIG_SHELL='$SHELL'
8141  export CONFIG_SHELL
8142  exec "\$@"
8143fi
8144
8145_ACEOF
8146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8147exec 5>>config.log
8148{
8149  echo
8150  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8151## Running $as_me. ##
8152_ASBOX
8153  $as_echo "$ac_log"
8154} >&5
8155
8156_ACEOF
8157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8158#
8159# INIT-COMMANDS
8160#
8161ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8162
8163_ACEOF
8164
8165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8166
8167# Handling of arguments.
8168for ac_config_target in $ac_config_targets
8169do
8170  case $ac_config_target in
8171    "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;;
8172    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8173    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8174
8175  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8176  esac
8177done
8178
8179
8180# If the user did not use the arguments to specify the items to instantiate,
8181# then the envvar interface is used.  Set only those that are not.
8182# We use the long form for the default assignment because of an extremely
8183# bizarre bug on SunOS 4.1.3.
8184if $ac_need_defaults; then
8185  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8186  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8187  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8188fi
8189
8190# Have a temporary directory for convenience.  Make it in the build tree
8191# simply because there is no reason against having it here, and in addition,
8192# creating and moving files from /tmp can sometimes cause problems.
8193# Hook for its removal unless debugging.
8194# Note that there is a small window in which the directory will not be cleaned:
8195# after its creation but before its name has been assigned to `$tmp'.
8196$debug ||
8197{
8198  tmp= ac_tmp=
8199  trap 'exit_status=$?
8200  : "${ac_tmp:=$tmp}"
8201  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8202' 0
8203  trap 'as_fn_exit 1' 1 2 13 15
8204}
8205# Create a (secure) tmp directory for tmp files.
8206
8207{
8208  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8209  test -d "$tmp"
8210}  ||
8211{
8212  tmp=./conf$$-$RANDOM
8213  (umask 077 && mkdir "$tmp")
8214} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8215ac_tmp=$tmp
8216
8217# Set up the scripts for CONFIG_FILES section.
8218# No need to generate them if there are no CONFIG_FILES.
8219# This happens for instance with `./config.status config.h'.
8220if test -n "$CONFIG_FILES"; then
8221
8222
8223ac_cr=`echo X | tr X '\015'`
8224# On cygwin, bash can eat \r inside `` if the user requested igncr.
8225# But we know of no other shell where ac_cr would be empty at this
8226# point, so we can use a bashism as a fallback.
8227if test "x$ac_cr" = x; then
8228  eval ac_cr=\$\'\\r\'
8229fi
8230ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8231if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8232  ac_cs_awk_cr='\\r'
8233else
8234  ac_cs_awk_cr=$ac_cr
8235fi
8236
8237echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8238_ACEOF
8239
8240
8241{
8242  echo "cat >conf$$subs.awk <<_ACEOF" &&
8243  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8244  echo "_ACEOF"
8245} >conf$$subs.sh ||
8246  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8247ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8248ac_delim='%!_!# '
8249for ac_last_try in false false false false false :; do
8250  . ./conf$$subs.sh ||
8251    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8252
8253  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8254  if test $ac_delim_n = $ac_delim_num; then
8255    break
8256  elif $ac_last_try; then
8257    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8258  else
8259    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8260  fi
8261done
8262rm -f conf$$subs.sh
8263
8264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8265cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8266_ACEOF
8267sed -n '
8268h
8269s/^/S["/; s/!.*/"]=/
8270p
8271g
8272s/^[^!]*!//
8273:repl
8274t repl
8275s/'"$ac_delim"'$//
8276t delim
8277:nl
8278h
8279s/\(.\{148\}\)..*/\1/
8280t more1
8281s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8282p
8283n
8284b repl
8285:more1
8286s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8287p
8288g
8289s/.\{148\}//
8290t nl
8291:delim
8292h
8293s/\(.\{148\}\)..*/\1/
8294t more2
8295s/["\\]/\\&/g; s/^/"/; s/$/"/
8296p
8297b
8298:more2
8299s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8300p
8301g
8302s/.\{148\}//
8303t delim
8304' <conf$$subs.awk | sed '
8305/^[^""]/{
8306  N
8307  s/\n//
8308}
8309' >>$CONFIG_STATUS || ac_write_fail=1
8310rm -f conf$$subs.awk
8311cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8312_ACAWK
8313cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8314  for (key in S) S_is_set[key] = 1
8315  FS = ""
8316
8317}
8318{
8319  line = $ 0
8320  nfields = split(line, field, "@")
8321  substed = 0
8322  len = length(field[1])
8323  for (i = 2; i < nfields; i++) {
8324    key = field[i]
8325    keylen = length(key)
8326    if (S_is_set[key]) {
8327      value = S[key]
8328      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8329      len += length(value) + length(field[++i])
8330      substed = 1
8331    } else
8332      len += 1 + keylen
8333  }
8334
8335  print line
8336}
8337
8338_ACAWK
8339_ACEOF
8340cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8341if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8342  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8343else
8344  cat
8345fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8346  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8347_ACEOF
8348
8349# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8350# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8351# trailing colons and then remove the whole line if VPATH becomes empty
8352# (actually we leave an empty line to preserve line numbers).
8353if test "x$srcdir" = x.; then
8354  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8355h
8356s///
8357s/^/:/
8358s/[	 ]*$/:/
8359s/:\$(srcdir):/:/g
8360s/:\${srcdir}:/:/g
8361s/:@srcdir@:/:/g
8362s/^:*//
8363s/:*$//
8364x
8365s/\(=[	 ]*\).*/\1/
8366G
8367s/\n//
8368s/^[^=]*=[	 ]*$//
8369}'
8370fi
8371
8372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8373fi # test -n "$CONFIG_FILES"
8374
8375# Set up the scripts for CONFIG_HEADERS section.
8376# No need to generate them if there are no CONFIG_HEADERS.
8377# This happens for instance with `./config.status Makefile'.
8378if test -n "$CONFIG_HEADERS"; then
8379cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8380BEGIN {
8381_ACEOF
8382
8383# Transform confdefs.h into an awk script `defines.awk', embedded as
8384# here-document in config.status, that substitutes the proper values into
8385# config.h.in to produce config.h.
8386
8387# Create a delimiter string that does not exist in confdefs.h, to ease
8388# handling of long lines.
8389ac_delim='%!_!# '
8390for ac_last_try in false false :; do
8391  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8392  if test -z "$ac_tt"; then
8393    break
8394  elif $ac_last_try; then
8395    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8396  else
8397    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8398  fi
8399done
8400
8401# For the awk script, D is an array of macro values keyed by name,
8402# likewise P contains macro parameters if any.  Preserve backslash
8403# newline sequences.
8404
8405ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8406sed -n '
8407s/.\{148\}/&'"$ac_delim"'/g
8408t rset
8409:rset
8410s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
8411t def
8412d
8413:def
8414s/\\$//
8415t bsnl
8416s/["\\]/\\&/g
8417s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8418D["\1"]=" \3"/p
8419s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
8420d
8421:bsnl
8422s/["\\]/\\&/g
8423s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8424D["\1"]=" \3\\\\\\n"\\/p
8425t cont
8426s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8427t cont
8428d
8429:cont
8430n
8431s/.\{148\}/&'"$ac_delim"'/g
8432t clear
8433:clear
8434s/\\$//
8435t bsnlc
8436s/["\\]/\\&/g; s/^/"/; s/$/"/p
8437d
8438:bsnlc
8439s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8440b cont
8441' <confdefs.h | sed '
8442s/'"$ac_delim"'/"\\\
8443"/g' >>$CONFIG_STATUS || ac_write_fail=1
8444
8445cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8446  for (key in D) D_is_set[key] = 1
8447  FS = ""
8448}
8449/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8450  line = \$ 0
8451  split(line, arg, " ")
8452  if (arg[1] == "#") {
8453    defundef = arg[2]
8454    mac1 = arg[3]
8455  } else {
8456    defundef = substr(arg[1], 2)
8457    mac1 = arg[2]
8458  }
8459  split(mac1, mac2, "(") #)
8460  macro = mac2[1]
8461  prefix = substr(line, 1, index(line, defundef) - 1)
8462  if (D_is_set[macro]) {
8463    # Preserve the white space surrounding the "#".
8464    print prefix "define", macro P[macro] D[macro]
8465    next
8466  } else {
8467    # Replace #undef with comments.  This is necessary, for example,
8468    # in the case of _POSIX_SOURCE, which is predefined and required
8469    # on some systems where configure will not decide to define it.
8470    if (defundef == "undef") {
8471      print "/*", prefix defundef, macro, "*/"
8472      next
8473    }
8474  }
8475}
8476{ print }
8477_ACAWK
8478_ACEOF
8479cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8480  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8481fi # test -n "$CONFIG_HEADERS"
8482
8483
8484eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8485shift
8486for ac_tag
8487do
8488  case $ac_tag in
8489  :[FHLC]) ac_mode=$ac_tag; continue;;
8490  esac
8491  case $ac_mode$ac_tag in
8492  :[FHL]*:*);;
8493  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8494  :[FH]-) ac_tag=-:-;;
8495  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8496  esac
8497  ac_save_IFS=$IFS
8498  IFS=:
8499  set x $ac_tag
8500  IFS=$ac_save_IFS
8501  shift
8502  ac_file=$1
8503  shift
8504
8505  case $ac_mode in
8506  :L) ac_source=$1;;
8507  :[FH])
8508    ac_file_inputs=
8509    for ac_f
8510    do
8511      case $ac_f in
8512      -) ac_f="$ac_tmp/stdin";;
8513      *) # Look for the file first in the build tree, then in the source tree
8514	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8515	 # because $ac_f cannot contain `:'.
8516	 test -f "$ac_f" ||
8517	   case $ac_f in
8518	   [\\/$]*) false;;
8519	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8520	   esac ||
8521	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8522      esac
8523      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8524      as_fn_append ac_file_inputs " '$ac_f'"
8525    done
8526
8527    # Let's still pretend it is `configure' which instantiates (i.e., don't
8528    # use $as_me), people would be surprised to read:
8529    #    /* config.h.  Generated by config.status.  */
8530    configure_input='Generated from '`
8531	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8532	`' by configure.'
8533    if test x"$ac_file" != x-; then
8534      configure_input="$ac_file.  $configure_input"
8535      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8536$as_echo "$as_me: creating $ac_file" >&6;}
8537    fi
8538    # Neutralize special characters interpreted by sed in replacement strings.
8539    case $configure_input in #(
8540    *\&* | *\|* | *\\* )
8541       ac_sed_conf_input=`$as_echo "$configure_input" |
8542       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8543    *) ac_sed_conf_input=$configure_input;;
8544    esac
8545
8546    case $ac_tag in
8547    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8548      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8549    esac
8550    ;;
8551  esac
8552
8553  ac_dir=`$as_dirname -- "$ac_file" ||
8554$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8555	 X"$ac_file" : 'X\(//\)[^/]' \| \
8556	 X"$ac_file" : 'X\(//\)$' \| \
8557	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8558$as_echo X"$ac_file" |
8559    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8560	    s//\1/
8561	    q
8562	  }
8563	  /^X\(\/\/\)[^/].*/{
8564	    s//\1/
8565	    q
8566	  }
8567	  /^X\(\/\/\)$/{
8568	    s//\1/
8569	    q
8570	  }
8571	  /^X\(\/\).*/{
8572	    s//\1/
8573	    q
8574	  }
8575	  s/.*/./; q'`
8576  as_dir="$ac_dir"; as_fn_mkdir_p
8577  ac_builddir=.
8578
8579case "$ac_dir" in
8580.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8581*)
8582  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8583  # A ".." for each directory in $ac_dir_suffix.
8584  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8585  case $ac_top_builddir_sub in
8586  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8587  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8588  esac ;;
8589esac
8590ac_abs_top_builddir=$ac_pwd
8591ac_abs_builddir=$ac_pwd$ac_dir_suffix
8592# for backward compatibility:
8593ac_top_builddir=$ac_top_build_prefix
8594
8595case $srcdir in
8596  .)  # We are building in place.
8597    ac_srcdir=.
8598    ac_top_srcdir=$ac_top_builddir_sub
8599    ac_abs_top_srcdir=$ac_pwd ;;
8600  [\\/]* | ?:[\\/]* )  # Absolute name.
8601    ac_srcdir=$srcdir$ac_dir_suffix;
8602    ac_top_srcdir=$srcdir
8603    ac_abs_top_srcdir=$srcdir ;;
8604  *) # Relative name.
8605    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8606    ac_top_srcdir=$ac_top_build_prefix$srcdir
8607    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8608esac
8609ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8610
8611
8612  case $ac_mode in
8613  :F)
8614  #
8615  # CONFIG_FILE
8616  #
8617
8618  case $INSTALL in
8619  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8620  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8621  esac
8622_ACEOF
8623
8624cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8625# If the template does not know about datarootdir, expand it.
8626# FIXME: This hack should be removed a few years after 2.60.
8627ac_datarootdir_hack=; ac_datarootdir_seen=
8628ac_sed_dataroot='
8629/datarootdir/ {
8630  p
8631  q
8632}
8633/@datadir@/p
8634/@docdir@/p
8635/@infodir@/p
8636/@localedir@/p
8637/@mandir@/p'
8638case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8639*datarootdir*) ac_datarootdir_seen=yes;;
8640*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8641  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8642$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8643_ACEOF
8644cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8645  ac_datarootdir_hack='
8646  s&@datadir@&$datadir&g
8647  s&@docdir@&$docdir&g
8648  s&@infodir@&$infodir&g
8649  s&@localedir@&$localedir&g
8650  s&@mandir@&$mandir&g
8651  s&\\\${datarootdir}&$datarootdir&g' ;;
8652esac
8653_ACEOF
8654
8655# Neutralize VPATH when `$srcdir' = `.'.
8656# Shell code in configure.ac might set extrasub.
8657# FIXME: do we really want to maintain this feature?
8658cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8659ac_sed_extra="$ac_vpsub
8660$extrasub
8661_ACEOF
8662cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8663:t
8664/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8665s|@configure_input@|$ac_sed_conf_input|;t t
8666s&@top_builddir@&$ac_top_builddir_sub&;t t
8667s&@top_build_prefix@&$ac_top_build_prefix&;t t
8668s&@srcdir@&$ac_srcdir&;t t
8669s&@abs_srcdir@&$ac_abs_srcdir&;t t
8670s&@top_srcdir@&$ac_top_srcdir&;t t
8671s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8672s&@builddir@&$ac_builddir&;t t
8673s&@abs_builddir@&$ac_abs_builddir&;t t
8674s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8675s&@INSTALL@&$ac_INSTALL&;t t
8676$ac_datarootdir_hack
8677"
8678eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8679  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8680
8681test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8682  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8683  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8684      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8685  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8686which seems to be undefined.  Please make sure it is defined" >&5
8687$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8688which seems to be undefined.  Please make sure it is defined" >&2;}
8689
8690  rm -f "$ac_tmp/stdin"
8691  case $ac_file in
8692  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8693  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8694  esac \
8695  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8696 ;;
8697  :H)
8698  #
8699  # CONFIG_HEADER
8700  #
8701  if test x"$ac_file" != x-; then
8702    {
8703      $as_echo "/* $configure_input  */" \
8704      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8705    } >"$ac_tmp/config.h" \
8706      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8707    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8708      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8709$as_echo "$as_me: $ac_file is unchanged" >&6;}
8710    else
8711      rm -f "$ac_file"
8712      mv "$ac_tmp/config.h" "$ac_file" \
8713	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8714    fi
8715  else
8716    $as_echo "/* $configure_input  */" \
8717      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8718      || as_fn_error $? "could not create -" "$LINENO" 5
8719  fi
8720 ;;
8721
8722  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8723$as_echo "$as_me: executing $ac_file commands" >&6;}
8724 ;;
8725  esac
8726
8727
8728  case $ac_file$ac_mode in
8729    "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
8730    "config.h":H) echo timestamp > stamp-h1 ;;
8731
8732  esac
8733done # for ac_tag
8734
8735
8736as_fn_exit 0
8737_ACEOF
8738ac_clean_files=$ac_clean_files_save
8739
8740test $ac_write_fail = 0 ||
8741  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8742
8743
8744# configure is writing to config.log, and then calls config.status.
8745# config.status does its own redirection, appending to config.log.
8746# Unfortunately, on DOS this fails, as config.log is still kept open
8747# by configure, so config.status won't be able to write to it; its
8748# output is simply discarded.  So we exec the FD to /dev/null,
8749# effectively closing config.log, so it can be properly (re)opened and
8750# appended to by config.status.  When coming back to configure, we
8751# need to make the FD available again.
8752if test "$no_create" != yes; then
8753  ac_cs_success=:
8754  ac_config_status_args=
8755  test "$silent" = yes &&
8756    ac_config_status_args="$ac_config_status_args --quiet"
8757  exec 5>/dev/null
8758  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8759  exec 5>>config.log
8760  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8761  # would make configure fail if this is the last instruction.
8762  $ac_cs_success || as_fn_exit 1
8763fi
8764if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8765  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8766$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8767fi
8768
8769