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