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