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