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="cbits/conv.c"
586enable_option_checking=no
587# Factoring default headers for most tests.
588ac_includes_default="\
589#include <stdio.h>
590#ifdef HAVE_SYS_TYPES_H
591# include <sys/types.h>
592#endif
593#ifdef HAVE_SYS_STAT_H
594# include <sys/stat.h>
595#endif
596#ifdef STDC_HEADERS
597# include <stdlib.h>
598# include <stddef.h>
599#else
600# ifdef HAVE_STDLIB_H
601#  include <stdlib.h>
602# endif
603#endif
604#ifdef HAVE_STRING_H
605# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606#  include <memory.h>
607# endif
608# include <string.h>
609#endif
610#ifdef HAVE_STRINGS_H
611# include <strings.h>
612#endif
613#ifdef HAVE_INTTYPES_H
614# include <inttypes.h>
615#endif
616#ifdef HAVE_STDINT_H
617# include <stdint.h>
618#endif
619#ifdef HAVE_UNISTD_H
620# include <unistd.h>
621#endif"
622
623ac_subst_vars='LTLIBOBJS
624LIBOBJS
625EGREP
626GREP
627CPP
628OBJEXT
629EXEEXT
630ac_ct_CC
631CPPFLAGS
632LDFLAGS
633CFLAGS
634CC
635target_alias
636host_alias
637build_alias
638LIBS
639ECHO_T
640ECHO_N
641ECHO_C
642DEFS
643mandir
644localedir
645libdir
646psdir
647pdfdir
648dvidir
649htmldir
650infodir
651docdir
652oldincludedir
653includedir
654localstatedir
655sharedstatedir
656sysconfdir
657datadir
658datarootdir
659libexecdir
660sbindir
661bindir
662program_transform_name
663prefix
664exec_prefix
665PACKAGE_URL
666PACKAGE_BUGREPORT
667PACKAGE_STRING
668PACKAGE_VERSION
669PACKAGE_TARNAME
670PACKAGE_NAME
671PATH_SEPARATOR
672SHELL'
673ac_subst_files=''
674ac_user_opts='
675enable_option_checking
676'
677      ac_precious_vars='build_alias
678host_alias
679target_alias
680CC
681CFLAGS
682LDFLAGS
683LIBS
684CPPFLAGS
685CPP'
686
687
688# Initialize some variables set by options.
689ac_init_help=
690ac_init_version=false
691ac_unrecognized_opts=
692ac_unrecognized_sep=
693# The variables have the same names as the options, with
694# dashes changed to underlines.
695cache_file=/dev/null
696exec_prefix=NONE
697no_create=
698no_recursion=
699prefix=NONE
700program_prefix=NONE
701program_suffix=NONE
702program_transform_name=s,x,x,
703silent=
704site=
705srcdir=
706verbose=
707x_includes=NONE
708x_libraries=NONE
709
710# Installation directory options.
711# These are left unexpanded so users can "make install exec_prefix=/foo"
712# and all the variables that are supposed to be based on exec_prefix
713# by default will actually change.
714# Use braces instead of parens because sh, perl, etc. also accept them.
715# (The list follows the same order as the GNU Coding Standards.)
716bindir='${exec_prefix}/bin'
717sbindir='${exec_prefix}/sbin'
718libexecdir='${exec_prefix}/libexec'
719datarootdir='${prefix}/share'
720datadir='${datarootdir}'
721sysconfdir='${prefix}/etc'
722sharedstatedir='${prefix}/com'
723localstatedir='${prefix}/var'
724includedir='${prefix}/include'
725oldincludedir='/usr/include'
726docdir='${datarootdir}/doc/${PACKAGE}'
727infodir='${datarootdir}/info'
728htmldir='${docdir}'
729dvidir='${docdir}'
730pdfdir='${docdir}'
731psdir='${docdir}'
732libdir='${exec_prefix}/lib'
733localedir='${datarootdir}/locale'
734mandir='${datarootdir}/man'
735
736ac_prev=
737ac_dashdash=
738for ac_option
739do
740  # If the previous option needs an argument, assign it.
741  if test -n "$ac_prev"; then
742    eval $ac_prev=\$ac_option
743    ac_prev=
744    continue
745  fi
746
747  case $ac_option in
748  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749  *=)   ac_optarg= ;;
750  *)    ac_optarg=yes ;;
751  esac
752
753  # Accept the important Cygnus configure options, so we can diagnose typos.
754
755  case $ac_dashdash$ac_option in
756  --)
757    ac_dashdash=yes ;;
758
759  -bindir | --bindir | --bindi | --bind | --bin | --bi)
760    ac_prev=bindir ;;
761  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
762    bindir=$ac_optarg ;;
763
764  -build | --build | --buil | --bui | --bu)
765    ac_prev=build_alias ;;
766  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
767    build_alias=$ac_optarg ;;
768
769  -cache-file | --cache-file | --cache-fil | --cache-fi \
770  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
771    ac_prev=cache_file ;;
772  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
773  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
774    cache_file=$ac_optarg ;;
775
776  --config-cache | -C)
777    cache_file=config.cache ;;
778
779  -datadir | --datadir | --datadi | --datad)
780    ac_prev=datadir ;;
781  -datadir=* | --datadir=* | --datadi=* | --datad=*)
782    datadir=$ac_optarg ;;
783
784  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
785  | --dataroo | --dataro | --datar)
786    ac_prev=datarootdir ;;
787  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
788  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
789    datarootdir=$ac_optarg ;;
790
791  -disable-* | --disable-*)
792    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793    # Reject names that are not valid shell variable names.
794    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795      as_fn_error $? "invalid feature name: $ac_useropt"
796    ac_useropt_orig=$ac_useropt
797    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798    case $ac_user_opts in
799      *"
800"enable_$ac_useropt"
801"*) ;;
802      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
803	 ac_unrecognized_sep=', ';;
804    esac
805    eval enable_$ac_useropt=no ;;
806
807  -docdir | --docdir | --docdi | --doc | --do)
808    ac_prev=docdir ;;
809  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810    docdir=$ac_optarg ;;
811
812  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
813    ac_prev=dvidir ;;
814  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815    dvidir=$ac_optarg ;;
816
817  -enable-* | --enable-*)
818    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
819    # Reject names that are not valid shell variable names.
820    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
821      as_fn_error $? "invalid feature name: $ac_useropt"
822    ac_useropt_orig=$ac_useropt
823    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824    case $ac_user_opts in
825      *"
826"enable_$ac_useropt"
827"*) ;;
828      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
829	 ac_unrecognized_sep=', ';;
830    esac
831    eval enable_$ac_useropt=\$ac_optarg ;;
832
833  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
834  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
835  | --exec | --exe | --ex)
836    ac_prev=exec_prefix ;;
837  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
838  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
839  | --exec=* | --exe=* | --ex=*)
840    exec_prefix=$ac_optarg ;;
841
842  -gas | --gas | --ga | --g)
843    # Obsolete; use --with-gas.
844    with_gas=yes ;;
845
846  -help | --help | --hel | --he | -h)
847    ac_init_help=long ;;
848  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
849    ac_init_help=recursive ;;
850  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
851    ac_init_help=short ;;
852
853  -host | --host | --hos | --ho)
854    ac_prev=host_alias ;;
855  -host=* | --host=* | --hos=* | --ho=*)
856    host_alias=$ac_optarg ;;
857
858  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
859    ac_prev=htmldir ;;
860  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
861  | --ht=*)
862    htmldir=$ac_optarg ;;
863
864  -includedir | --includedir | --includedi | --included | --include \
865  | --includ | --inclu | --incl | --inc)
866    ac_prev=includedir ;;
867  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
868  | --includ=* | --inclu=* | --incl=* | --inc=*)
869    includedir=$ac_optarg ;;
870
871  -infodir | --infodir | --infodi | --infod | --info | --inf)
872    ac_prev=infodir ;;
873  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
874    infodir=$ac_optarg ;;
875
876  -libdir | --libdir | --libdi | --libd)
877    ac_prev=libdir ;;
878  -libdir=* | --libdir=* | --libdi=* | --libd=*)
879    libdir=$ac_optarg ;;
880
881  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
882  | --libexe | --libex | --libe)
883    ac_prev=libexecdir ;;
884  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
885  | --libexe=* | --libex=* | --libe=*)
886    libexecdir=$ac_optarg ;;
887
888  -localedir | --localedir | --localedi | --localed | --locale)
889    ac_prev=localedir ;;
890  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
891    localedir=$ac_optarg ;;
892
893  -localstatedir | --localstatedir | --localstatedi | --localstated \
894  | --localstate | --localstat | --localsta | --localst | --locals)
895    ac_prev=localstatedir ;;
896  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
897  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
898    localstatedir=$ac_optarg ;;
899
900  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
901    ac_prev=mandir ;;
902  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
903    mandir=$ac_optarg ;;
904
905  -nfp | --nfp | --nf)
906    # Obsolete; use --without-fp.
907    with_fp=no ;;
908
909  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
910  | --no-cr | --no-c | -n)
911    no_create=yes ;;
912
913  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
914  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
915    no_recursion=yes ;;
916
917  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
918  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
919  | --oldin | --oldi | --old | --ol | --o)
920    ac_prev=oldincludedir ;;
921  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
922  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
923  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
924    oldincludedir=$ac_optarg ;;
925
926  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
927    ac_prev=prefix ;;
928  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
929    prefix=$ac_optarg ;;
930
931  -program-prefix | --program-prefix | --program-prefi | --program-pref \
932  | --program-pre | --program-pr | --program-p)
933    ac_prev=program_prefix ;;
934  -program-prefix=* | --program-prefix=* | --program-prefi=* \
935  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
936    program_prefix=$ac_optarg ;;
937
938  -program-suffix | --program-suffix | --program-suffi | --program-suff \
939  | --program-suf | --program-su | --program-s)
940    ac_prev=program_suffix ;;
941  -program-suffix=* | --program-suffix=* | --program-suffi=* \
942  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
943    program_suffix=$ac_optarg ;;
944
945  -program-transform-name | --program-transform-name \
946  | --program-transform-nam | --program-transform-na \
947  | --program-transform-n | --program-transform- \
948  | --program-transform | --program-transfor \
949  | --program-transfo | --program-transf \
950  | --program-trans | --program-tran \
951  | --progr-tra | --program-tr | --program-t)
952    ac_prev=program_transform_name ;;
953  -program-transform-name=* | --program-transform-name=* \
954  | --program-transform-nam=* | --program-transform-na=* \
955  | --program-transform-n=* | --program-transform-=* \
956  | --program-transform=* | --program-transfor=* \
957  | --program-transfo=* | --program-transf=* \
958  | --program-trans=* | --program-tran=* \
959  | --progr-tra=* | --program-tr=* | --program-t=*)
960    program_transform_name=$ac_optarg ;;
961
962  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
963    ac_prev=pdfdir ;;
964  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
965    pdfdir=$ac_optarg ;;
966
967  -psdir | --psdir | --psdi | --psd | --ps)
968    ac_prev=psdir ;;
969  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
970    psdir=$ac_optarg ;;
971
972  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
973  | -silent | --silent | --silen | --sile | --sil)
974    silent=yes ;;
975
976  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
977    ac_prev=sbindir ;;
978  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
979  | --sbi=* | --sb=*)
980    sbindir=$ac_optarg ;;
981
982  -sharedstatedir | --sharedstatedir | --sharedstatedi \
983  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
984  | --sharedst | --shareds | --shared | --share | --shar \
985  | --sha | --sh)
986    ac_prev=sharedstatedir ;;
987  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
988  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
989  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
990  | --sha=* | --sh=*)
991    sharedstatedir=$ac_optarg ;;
992
993  -site | --site | --sit)
994    ac_prev=site ;;
995  -site=* | --site=* | --sit=*)
996    site=$ac_optarg ;;
997
998  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
999    ac_prev=srcdir ;;
1000  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1001    srcdir=$ac_optarg ;;
1002
1003  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1004  | --syscon | --sysco | --sysc | --sys | --sy)
1005    ac_prev=sysconfdir ;;
1006  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1007  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1008    sysconfdir=$ac_optarg ;;
1009
1010  -target | --target | --targe | --targ | --tar | --ta | --t)
1011    ac_prev=target_alias ;;
1012  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1013    target_alias=$ac_optarg ;;
1014
1015  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1016    verbose=yes ;;
1017
1018  -version | --version | --versio | --versi | --vers | -V)
1019    ac_init_version=: ;;
1020
1021  -with-* | --with-*)
1022    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1023    # Reject names that are not valid shell variable names.
1024    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025      as_fn_error $? "invalid package name: $ac_useropt"
1026    ac_useropt_orig=$ac_useropt
1027    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028    case $ac_user_opts in
1029      *"
1030"with_$ac_useropt"
1031"*) ;;
1032      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1033	 ac_unrecognized_sep=', ';;
1034    esac
1035    eval with_$ac_useropt=\$ac_optarg ;;
1036
1037  -without-* | --without-*)
1038    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039    # Reject names that are not valid shell variable names.
1040    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041      as_fn_error $? "invalid package name: $ac_useropt"
1042    ac_useropt_orig=$ac_useropt
1043    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044    case $ac_user_opts in
1045      *"
1046"with_$ac_useropt"
1047"*) ;;
1048      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1049	 ac_unrecognized_sep=', ';;
1050    esac
1051    eval with_$ac_useropt=no ;;
1052
1053  --x)
1054    # Obsolete; use --with-x.
1055    with_x=yes ;;
1056
1057  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1058  | --x-incl | --x-inc | --x-in | --x-i)
1059    ac_prev=x_includes ;;
1060  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1061  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1062    x_includes=$ac_optarg ;;
1063
1064  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1065  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1066    ac_prev=x_libraries ;;
1067  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1068  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069    x_libraries=$ac_optarg ;;
1070
1071  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1072Try \`$0 --help' for more information"
1073    ;;
1074
1075  *=*)
1076    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1077    # Reject names that are not valid shell variable names.
1078    case $ac_envvar in #(
1079      '' | [0-9]* | *[!_$as_cr_alnum]* )
1080      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1081    esac
1082    eval $ac_envvar=\$ac_optarg
1083    export $ac_envvar ;;
1084
1085  *)
1086    # FIXME: should be removed in autoconf 3.0.
1087    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1091    ;;
1092
1093  esac
1094done
1095
1096if test -n "$ac_prev"; then
1097  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098  as_fn_error $? "missing argument to $ac_option"
1099fi
1100
1101if test -n "$ac_unrecognized_opts"; then
1102  case $enable_option_checking in
1103    no) ;;
1104    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1105    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1106  esac
1107fi
1108
1109# Check all directory arguments for consistency.
1110for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111		datadir sysconfdir sharedstatedir localstatedir includedir \
1112		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113		libdir localedir mandir
1114do
1115  eval ac_val=\$$ac_var
1116  # Remove trailing slashes.
1117  case $ac_val in
1118    */ )
1119      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1120      eval $ac_var=\$ac_val;;
1121  esac
1122  # Be sure to have absolute directory names.
1123  case $ac_val in
1124    [\\/$]* | ?:[\\/]* )  continue;;
1125    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1126  esac
1127  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1128done
1129
1130# There might be people who depend on the old broken behavior: `$host'
1131# used to hold the argument of --host etc.
1132# FIXME: To remove some day.
1133build=$build_alias
1134host=$host_alias
1135target=$target_alias
1136
1137# FIXME: To remove some day.
1138if test "x$host_alias" != x; then
1139  if test "x$build_alias" = x; then
1140    cross_compiling=maybe
1141  elif test "x$build_alias" != "x$host_alias"; then
1142    cross_compiling=yes
1143  fi
1144fi
1145
1146ac_tool_prefix=
1147test -n "$host_alias" && ac_tool_prefix=$host_alias-
1148
1149test "$silent" = yes && exec 6>/dev/null
1150
1151
1152ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153ac_ls_di=`ls -di .` &&
1154ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1155  as_fn_error $? "working directory cannot be determined"
1156test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157  as_fn_error $? "pwd does not report name of working directory"
1158
1159
1160# Find the source files, if location was not specified.
1161if test -z "$srcdir"; then
1162  ac_srcdir_defaulted=yes
1163  # Try the directory containing this script, then the parent directory.
1164  ac_confdir=`$as_dirname -- "$as_myself" ||
1165$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166	 X"$as_myself" : 'X\(//\)[^/]' \| \
1167	 X"$as_myself" : 'X\(//\)$' \| \
1168	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169$as_echo X"$as_myself" |
1170    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171	    s//\1/
1172	    q
1173	  }
1174	  /^X\(\/\/\)[^/].*/{
1175	    s//\1/
1176	    q
1177	  }
1178	  /^X\(\/\/\)$/{
1179	    s//\1/
1180	    q
1181	  }
1182	  /^X\(\/\).*/{
1183	    s//\1/
1184	    q
1185	  }
1186	  s/.*/./; q'`
1187  srcdir=$ac_confdir
1188  if test ! -r "$srcdir/$ac_unique_file"; then
1189    srcdir=..
1190  fi
1191else
1192  ac_srcdir_defaulted=no
1193fi
1194if test ! -r "$srcdir/$ac_unique_file"; then
1195  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1197fi
1198ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1199ac_abs_confdir=`(
1200	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1201	pwd)`
1202# When building in place, set srcdir=.
1203if test "$ac_abs_confdir" = "$ac_pwd"; then
1204  srcdir=.
1205fi
1206# Remove unnecessary trailing slashes from srcdir.
1207# Double slashes in file names in object file debugging info
1208# mess up M-x gdb in Emacs.
1209case $srcdir in
1210*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211esac
1212for ac_var in $ac_precious_vars; do
1213  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214  eval ac_env_${ac_var}_value=\$${ac_var}
1215  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1217done
1218
1219#
1220# Report the --help message.
1221#
1222if test "$ac_init_help" = "long"; then
1223  # Omit some internal or obsolete options to make the list less imposing.
1224  # This message is too long to be a string in the A/UX 3.1 sh.
1225  cat <<_ACEOF
1226\`configure' configures this package to adapt to many kinds of systems.
1227
1228Usage: $0 [OPTION]... [VAR=VALUE]...
1229
1230To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231VAR=VALUE.  See below for descriptions of some of the useful variables.
1232
1233Defaults for the options are specified in brackets.
1234
1235Configuration:
1236  -h, --help              display this help and exit
1237      --help=short        display options specific to this package
1238      --help=recursive    display the short help of all the included packages
1239  -V, --version           display version information and exit
1240  -q, --quiet, --silent   do not print \`checking ...' messages
1241      --cache-file=FILE   cache test results in FILE [disabled]
1242  -C, --config-cache      alias for \`--cache-file=config.cache'
1243  -n, --no-create         do not create output files
1244      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1245
1246Installation directories:
1247  --prefix=PREFIX         install architecture-independent files in PREFIX
1248                          [$ac_default_prefix]
1249  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1250                          [PREFIX]
1251
1252By default, \`make install' will install all the files in
1253\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1254an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255for instance \`--prefix=\$HOME'.
1256
1257For better control, use the options below.
1258
1259Fine tuning of the installation directories:
1260  --bindir=DIR            user executables [EPREFIX/bin]
1261  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1262  --libexecdir=DIR        program executables [EPREFIX/libexec]
1263  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1264  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1265  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1266  --libdir=DIR            object code libraries [EPREFIX/lib]
1267  --includedir=DIR        C header files [PREFIX/include]
1268  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1269  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1270  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1271  --infodir=DIR           info documentation [DATAROOTDIR/info]
1272  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1273  --mandir=DIR            man documentation [DATAROOTDIR/man]
1274  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1275  --htmldir=DIR           html documentation [DOCDIR]
1276  --dvidir=DIR            dvi documentation [DOCDIR]
1277  --pdfdir=DIR            pdf documentation [DOCDIR]
1278  --psdir=DIR             ps documentation [DOCDIR]
1279_ACEOF
1280
1281  cat <<\_ACEOF
1282_ACEOF
1283fi
1284
1285if test -n "$ac_init_help"; then
1286
1287  cat <<\_ACEOF
1288
1289Some influential environment variables:
1290  CC          C compiler command
1291  CFLAGS      C compiler flags
1292  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1293              nonstandard directory <lib dir>
1294  LIBS        libraries to pass to the linker, e.g. -l<library>
1295  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1296              you have headers in a nonstandard directory <include dir>
1297  CPP         C preprocessor
1298
1299Use these variables to override the choices made by `configure' or to help
1300it to find libraries and programs with nonstandard names/locations.
1301
1302Report bugs to the package provider.
1303_ACEOF
1304ac_status=$?
1305fi
1306
1307if test "$ac_init_help" = "recursive"; then
1308  # If there are subdirs, report their specific --help.
1309  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1310    test -d "$ac_dir" ||
1311      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1312      continue
1313    ac_builddir=.
1314
1315case "$ac_dir" in
1316.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317*)
1318  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1319  # A ".." for each directory in $ac_dir_suffix.
1320  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1321  case $ac_top_builddir_sub in
1322  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1324  esac ;;
1325esac
1326ac_abs_top_builddir=$ac_pwd
1327ac_abs_builddir=$ac_pwd$ac_dir_suffix
1328# for backward compatibility:
1329ac_top_builddir=$ac_top_build_prefix
1330
1331case $srcdir in
1332  .)  # We are building in place.
1333    ac_srcdir=.
1334    ac_top_srcdir=$ac_top_builddir_sub
1335    ac_abs_top_srcdir=$ac_pwd ;;
1336  [\\/]* | ?:[\\/]* )  # Absolute name.
1337    ac_srcdir=$srcdir$ac_dir_suffix;
1338    ac_top_srcdir=$srcdir
1339    ac_abs_top_srcdir=$srcdir ;;
1340  *) # Relative name.
1341    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1342    ac_top_srcdir=$ac_top_build_prefix$srcdir
1343    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1344esac
1345ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1346
1347    cd "$ac_dir" || { ac_status=$?; continue; }
1348    # Check for guested configure.
1349    if test -f "$ac_srcdir/configure.gnu"; then
1350      echo &&
1351      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1352    elif test -f "$ac_srcdir/configure"; then
1353      echo &&
1354      $SHELL "$ac_srcdir/configure" --help=recursive
1355    else
1356      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1357    fi || ac_status=$?
1358    cd "$ac_pwd" || { ac_status=$?; break; }
1359  done
1360fi
1361
1362test -n "$ac_init_help" && exit $ac_status
1363if $ac_init_version; then
1364  cat <<\_ACEOF
1365configure
1366generated by GNU Autoconf 2.69
1367
1368Copyright (C) 2012 Free Software Foundation, Inc.
1369This configure script is free software; the Free Software Foundation
1370gives unlimited permission to copy, distribute and modify it.
1371_ACEOF
1372  exit
1373fi
1374
1375## ------------------------ ##
1376## Autoconf initialization. ##
1377## ------------------------ ##
1378
1379# ac_fn_c_try_compile LINENO
1380# --------------------------
1381# Try to compile conftest.$ac_ext, and return whether this succeeded.
1382ac_fn_c_try_compile ()
1383{
1384  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1385  rm -f conftest.$ac_objext
1386  if { { ac_try="$ac_compile"
1387case "(($ac_try" in
1388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1389  *) ac_try_echo=$ac_try;;
1390esac
1391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1392$as_echo "$ac_try_echo"; } >&5
1393  (eval "$ac_compile") 2>conftest.err
1394  ac_status=$?
1395  if test -s conftest.err; then
1396    grep -v '^ *+' conftest.err >conftest.er1
1397    cat conftest.er1 >&5
1398    mv -f conftest.er1 conftest.err
1399  fi
1400  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1401  test $ac_status = 0; } && {
1402	 test -z "$ac_c_werror_flag" ||
1403	 test ! -s conftest.err
1404       } && test -s conftest.$ac_objext; then :
1405  ac_retval=0
1406else
1407  $as_echo "$as_me: failed program was:" >&5
1408sed 's/^/| /' conftest.$ac_ext >&5
1409
1410	ac_retval=1
1411fi
1412  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1413  as_fn_set_status $ac_retval
1414
1415} # ac_fn_c_try_compile
1416
1417# ac_fn_c_try_cpp LINENO
1418# ----------------------
1419# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1420ac_fn_c_try_cpp ()
1421{
1422  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423  if { { ac_try="$ac_cpp conftest.$ac_ext"
1424case "(($ac_try" in
1425  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1426  *) ac_try_echo=$ac_try;;
1427esac
1428eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1429$as_echo "$ac_try_echo"; } >&5
1430  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1431  ac_status=$?
1432  if test -s conftest.err; then
1433    grep -v '^ *+' conftest.err >conftest.er1
1434    cat conftest.er1 >&5
1435    mv -f conftest.er1 conftest.err
1436  fi
1437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1438  test $ac_status = 0; } > conftest.i && {
1439	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1440	 test ! -s conftest.err
1441       }; then :
1442  ac_retval=0
1443else
1444  $as_echo "$as_me: failed program was:" >&5
1445sed 's/^/| /' conftest.$ac_ext >&5
1446
1447    ac_retval=1
1448fi
1449  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1450  as_fn_set_status $ac_retval
1451
1452} # ac_fn_c_try_cpp
1453
1454# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1455# -------------------------------------------------------
1456# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1457# the include files in INCLUDES and setting the cache variable VAR
1458# accordingly.
1459ac_fn_c_check_header_mongrel ()
1460{
1461  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462  if eval \${$3+:} false; then :
1463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1464$as_echo_n "checking for $2... " >&6; }
1465if eval \${$3+:} false; then :
1466  $as_echo_n "(cached) " >&6
1467fi
1468eval ac_res=\$$3
1469	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1470$as_echo "$ac_res" >&6; }
1471else
1472  # Is the header compilable?
1473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1474$as_echo_n "checking $2 usability... " >&6; }
1475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1476/* end confdefs.h.  */
1477$4
1478#include <$2>
1479_ACEOF
1480if ac_fn_c_try_compile "$LINENO"; then :
1481  ac_header_compiler=yes
1482else
1483  ac_header_compiler=no
1484fi
1485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1487$as_echo "$ac_header_compiler" >&6; }
1488
1489# Is the header present?
1490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1491$as_echo_n "checking $2 presence... " >&6; }
1492cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1493/* end confdefs.h.  */
1494#include <$2>
1495_ACEOF
1496if ac_fn_c_try_cpp "$LINENO"; then :
1497  ac_header_preproc=yes
1498else
1499  ac_header_preproc=no
1500fi
1501rm -f conftest.err conftest.i conftest.$ac_ext
1502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1503$as_echo "$ac_header_preproc" >&6; }
1504
1505# So?  What about this header?
1506case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1507  yes:no: )
1508    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1509$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1510    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1511$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1512    ;;
1513  no:yes:* )
1514    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1515$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1516    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1517$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1518    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1519$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1520    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1521$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1522    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1523$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1524    ;;
1525esac
1526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1527$as_echo_n "checking for $2... " >&6; }
1528if eval \${$3+:} false; then :
1529  $as_echo_n "(cached) " >&6
1530else
1531  eval "$3=\$ac_header_compiler"
1532fi
1533eval ac_res=\$$3
1534	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1535$as_echo "$ac_res" >&6; }
1536fi
1537  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538
1539} # ac_fn_c_check_header_mongrel
1540
1541# ac_fn_c_try_run LINENO
1542# ----------------------
1543# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1544# that executables *can* be run.
1545ac_fn_c_try_run ()
1546{
1547  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548  if { { ac_try="$ac_link"
1549case "(($ac_try" in
1550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551  *) ac_try_echo=$ac_try;;
1552esac
1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554$as_echo "$ac_try_echo"; } >&5
1555  (eval "$ac_link") 2>&5
1556  ac_status=$?
1557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1559  { { case "(($ac_try" in
1560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561  *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564$as_echo "$ac_try_echo"; } >&5
1565  (eval "$ac_try") 2>&5
1566  ac_status=$?
1567  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568  test $ac_status = 0; }; }; then :
1569  ac_retval=0
1570else
1571  $as_echo "$as_me: program exited with status $ac_status" >&5
1572       $as_echo "$as_me: failed program was:" >&5
1573sed 's/^/| /' conftest.$ac_ext >&5
1574
1575       ac_retval=$ac_status
1576fi
1577  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1578  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579  as_fn_set_status $ac_retval
1580
1581} # ac_fn_c_try_run
1582
1583# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1584# -------------------------------------------------------
1585# Tests whether HEADER exists and can be compiled using the include files in
1586# INCLUDES, setting the cache variable VAR accordingly.
1587ac_fn_c_check_header_compile ()
1588{
1589  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591$as_echo_n "checking for $2... " >&6; }
1592if eval \${$3+:} false; then :
1593  $as_echo_n "(cached) " >&6
1594else
1595  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1596/* end confdefs.h.  */
1597$4
1598#include <$2>
1599_ACEOF
1600if ac_fn_c_try_compile "$LINENO"; then :
1601  eval "$3=yes"
1602else
1603  eval "$3=no"
1604fi
1605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1606fi
1607eval ac_res=\$$3
1608	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1609$as_echo "$ac_res" >&6; }
1610  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611
1612} # ac_fn_c_check_header_compile
1613
1614# ac_fn_c_try_link LINENO
1615# -----------------------
1616# Try to link conftest.$ac_ext, and return whether this succeeded.
1617ac_fn_c_try_link ()
1618{
1619  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620  rm -f conftest.$ac_objext conftest$ac_exeext
1621  if { { ac_try="$ac_link"
1622case "(($ac_try" in
1623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624  *) ac_try_echo=$ac_try;;
1625esac
1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627$as_echo "$ac_try_echo"; } >&5
1628  (eval "$ac_link") 2>conftest.err
1629  ac_status=$?
1630  if test -s conftest.err; then
1631    grep -v '^ *+' conftest.err >conftest.er1
1632    cat conftest.er1 >&5
1633    mv -f conftest.er1 conftest.err
1634  fi
1635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636  test $ac_status = 0; } && {
1637	 test -z "$ac_c_werror_flag" ||
1638	 test ! -s conftest.err
1639       } && test -s conftest$ac_exeext && {
1640	 test "$cross_compiling" = yes ||
1641	 test -x conftest$ac_exeext
1642       }; then :
1643  ac_retval=0
1644else
1645  $as_echo "$as_me: failed program was:" >&5
1646sed 's/^/| /' conftest.$ac_ext >&5
1647
1648	ac_retval=1
1649fi
1650  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1651  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1652  # interfere with the next link command; also delete a directory that is
1653  # left behind by Apple's compiler.  We do this before executing the actions.
1654  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1655  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656  as_fn_set_status $ac_retval
1657
1658} # ac_fn_c_try_link
1659
1660# ac_fn_c_check_func LINENO FUNC VAR
1661# ----------------------------------
1662# Tests whether FUNC exists, setting the cache variable VAR accordingly
1663ac_fn_c_check_func ()
1664{
1665  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667$as_echo_n "checking for $2... " >&6; }
1668if eval \${$3+:} false; then :
1669  $as_echo_n "(cached) " >&6
1670else
1671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672/* end confdefs.h.  */
1673/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1674   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1675#define $2 innocuous_$2
1676
1677/* System header to define __stub macros and hopefully few prototypes,
1678    which can conflict with char $2 (); below.
1679    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1680    <limits.h> exists even on freestanding compilers.  */
1681
1682#ifdef __STDC__
1683# include <limits.h>
1684#else
1685# include <assert.h>
1686#endif
1687
1688#undef $2
1689
1690/* Override any GCC internal prototype to avoid an error.
1691   Use char because int might match the return type of a GCC
1692   builtin and then its argument prototype would still apply.  */
1693#ifdef __cplusplus
1694extern "C"
1695#endif
1696char $2 ();
1697/* The GNU C library defines this for functions which it implements
1698    to always fail with ENOSYS.  Some functions are actually named
1699    something starting with __ and the normal name is an alias.  */
1700#if defined __stub_$2 || defined __stub___$2
1701choke me
1702#endif
1703
1704int
1705main ()
1706{
1707return $2 ();
1708  ;
1709  return 0;
1710}
1711_ACEOF
1712if ac_fn_c_try_link "$LINENO"; then :
1713  eval "$3=yes"
1714else
1715  eval "$3=no"
1716fi
1717rm -f core conftest.err conftest.$ac_objext \
1718    conftest$ac_exeext conftest.$ac_ext
1719fi
1720eval ac_res=\$$3
1721	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722$as_echo "$ac_res" >&6; }
1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724
1725} # ac_fn_c_check_func
1726cat >config.log <<_ACEOF
1727This file contains any messages produced by compilers while
1728running configure, to aid debugging if configure makes a mistake.
1729
1730It was created by $as_me, which was
1731generated by GNU Autoconf 2.69.  Invocation command line was
1732
1733  $ $0 $@
1734
1735_ACEOF
1736exec 5>>config.log
1737{
1738cat <<_ASUNAME
1739## --------- ##
1740## Platform. ##
1741## --------- ##
1742
1743hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1744uname -m = `(uname -m) 2>/dev/null || echo unknown`
1745uname -r = `(uname -r) 2>/dev/null || echo unknown`
1746uname -s = `(uname -s) 2>/dev/null || echo unknown`
1747uname -v = `(uname -v) 2>/dev/null || echo unknown`
1748
1749/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1750/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1751
1752/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1753/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1754/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1755/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1756/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1757/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1758/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1759
1760_ASUNAME
1761
1762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763for as_dir in $PATH
1764do
1765  IFS=$as_save_IFS
1766  test -z "$as_dir" && as_dir=.
1767    $as_echo "PATH: $as_dir"
1768  done
1769IFS=$as_save_IFS
1770
1771} >&5
1772
1773cat >&5 <<_ACEOF
1774
1775
1776## ----------- ##
1777## Core tests. ##
1778## ----------- ##
1779
1780_ACEOF
1781
1782
1783# Keep a trace of the command line.
1784# Strip out --no-create and --no-recursion so they do not pile up.
1785# Strip out --silent because we don't want to record it for future runs.
1786# Also quote any args containing shell meta-characters.
1787# Make two passes to allow for proper duplicate-argument suppression.
1788ac_configure_args=
1789ac_configure_args0=
1790ac_configure_args1=
1791ac_must_keep_next=false
1792for ac_pass in 1 2
1793do
1794  for ac_arg
1795  do
1796    case $ac_arg in
1797    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1798    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1799    | -silent | --silent | --silen | --sile | --sil)
1800      continue ;;
1801    *\'*)
1802      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1803    esac
1804    case $ac_pass in
1805    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1806    2)
1807      as_fn_append ac_configure_args1 " '$ac_arg'"
1808      if test $ac_must_keep_next = true; then
1809	ac_must_keep_next=false # Got value, back to normal.
1810      else
1811	case $ac_arg in
1812	  *=* | --config-cache | -C | -disable-* | --disable-* \
1813	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1814	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1815	  | -with-* | --with-* | -without-* | --without-* | --x)
1816	    case "$ac_configure_args0 " in
1817	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1818	    esac
1819	    ;;
1820	  -* ) ac_must_keep_next=true ;;
1821	esac
1822      fi
1823      as_fn_append ac_configure_args " '$ac_arg'"
1824      ;;
1825    esac
1826  done
1827done
1828{ ac_configure_args0=; unset ac_configure_args0;}
1829{ ac_configure_args1=; unset ac_configure_args1;}
1830
1831# When interrupted or exit'd, cleanup temporary files, and complete
1832# config.log.  We remove comments because anyway the quotes in there
1833# would cause problems or look ugly.
1834# WARNING: Use '\'' to represent an apostrophe within the trap.
1835# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1836trap 'exit_status=$?
1837  # Save into config.log some information that might help in debugging.
1838  {
1839    echo
1840
1841    $as_echo "## ---------------- ##
1842## Cache variables. ##
1843## ---------------- ##"
1844    echo
1845    # The following way of writing the cache mishandles newlines in values,
1846(
1847  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1848    eval ac_val=\$$ac_var
1849    case $ac_val in #(
1850    *${as_nl}*)
1851      case $ac_var in #(
1852      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1853$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1854      esac
1855      case $ac_var in #(
1856      _ | IFS | as_nl) ;; #(
1857      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1858      *) { eval $ac_var=; unset $ac_var;} ;;
1859      esac ;;
1860    esac
1861  done
1862  (set) 2>&1 |
1863    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1864    *${as_nl}ac_space=\ *)
1865      sed -n \
1866	"s/'\''/'\''\\\\'\'''\''/g;
1867	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1868      ;; #(
1869    *)
1870      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1871      ;;
1872    esac |
1873    sort
1874)
1875    echo
1876
1877    $as_echo "## ----------------- ##
1878## Output variables. ##
1879## ----------------- ##"
1880    echo
1881    for ac_var in $ac_subst_vars
1882    do
1883      eval ac_val=\$$ac_var
1884      case $ac_val in
1885      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1886      esac
1887      $as_echo "$ac_var='\''$ac_val'\''"
1888    done | sort
1889    echo
1890
1891    if test -n "$ac_subst_files"; then
1892      $as_echo "## ------------------- ##
1893## File substitutions. ##
1894## ------------------- ##"
1895      echo
1896      for ac_var in $ac_subst_files
1897      do
1898	eval ac_val=\$$ac_var
1899	case $ac_val in
1900	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1901	esac
1902	$as_echo "$ac_var='\''$ac_val'\''"
1903      done | sort
1904      echo
1905    fi
1906
1907    if test -s confdefs.h; then
1908      $as_echo "## ----------- ##
1909## confdefs.h. ##
1910## ----------- ##"
1911      echo
1912      cat confdefs.h
1913      echo
1914    fi
1915    test "$ac_signal" != 0 &&
1916      $as_echo "$as_me: caught signal $ac_signal"
1917    $as_echo "$as_me: exit $exit_status"
1918  } >&5
1919  rm -f core *.core core.conftest.* &&
1920    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1921    exit $exit_status
1922' 0
1923for ac_signal in 1 2 13 15; do
1924  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1925done
1926ac_signal=0
1927
1928# confdefs.h avoids OS command line length limits that DEFS can exceed.
1929rm -f -r conftest* confdefs.h
1930
1931$as_echo "/* confdefs.h */" > confdefs.h
1932
1933# Predefined preprocessor variables.
1934
1935cat >>confdefs.h <<_ACEOF
1936#define PACKAGE_NAME "$PACKAGE_NAME"
1937_ACEOF
1938
1939cat >>confdefs.h <<_ACEOF
1940#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1941_ACEOF
1942
1943cat >>confdefs.h <<_ACEOF
1944#define PACKAGE_VERSION "$PACKAGE_VERSION"
1945_ACEOF
1946
1947cat >>confdefs.h <<_ACEOF
1948#define PACKAGE_STRING "$PACKAGE_STRING"
1949_ACEOF
1950
1951cat >>confdefs.h <<_ACEOF
1952#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1953_ACEOF
1954
1955cat >>confdefs.h <<_ACEOF
1956#define PACKAGE_URL "$PACKAGE_URL"
1957_ACEOF
1958
1959
1960# Let the site file select an alternate cache file if it wants to.
1961# Prefer an explicitly selected file to automatically selected ones.
1962ac_site_file1=NONE
1963ac_site_file2=NONE
1964if test -n "$CONFIG_SITE"; then
1965  # We do not want a PATH search for config.site.
1966  case $CONFIG_SITE in #((
1967    -*)  ac_site_file1=./$CONFIG_SITE;;
1968    */*) ac_site_file1=$CONFIG_SITE;;
1969    *)   ac_site_file1=./$CONFIG_SITE;;
1970  esac
1971elif test "x$prefix" != xNONE; then
1972  ac_site_file1=$prefix/share/config.site
1973  ac_site_file2=$prefix/etc/config.site
1974else
1975  ac_site_file1=$ac_default_prefix/share/config.site
1976  ac_site_file2=$ac_default_prefix/etc/config.site
1977fi
1978for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1979do
1980  test "x$ac_site_file" = xNONE && continue
1981  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1982    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1983$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1984    sed 's/^/| /' "$ac_site_file" >&5
1985    . "$ac_site_file" \
1986      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1987$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1988as_fn_error $? "failed to load site script $ac_site_file
1989See \`config.log' for more details" "$LINENO" 5; }
1990  fi
1991done
1992
1993if test -r "$cache_file"; then
1994  # Some versions of bash will fail to source /dev/null (special files
1995  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1996  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1997    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1998$as_echo "$as_me: loading cache $cache_file" >&6;}
1999    case $cache_file in
2000      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2001      *)                      . "./$cache_file";;
2002    esac
2003  fi
2004else
2005  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2006$as_echo "$as_me: creating cache $cache_file" >&6;}
2007  >$cache_file
2008fi
2009
2010# Check that the precious variables saved in the cache have kept the same
2011# value.
2012ac_cache_corrupted=false
2013for ac_var in $ac_precious_vars; do
2014  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2015  eval ac_new_set=\$ac_env_${ac_var}_set
2016  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2017  eval ac_new_val=\$ac_env_${ac_var}_value
2018  case $ac_old_set,$ac_new_set in
2019    set,)
2020      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2021$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2022      ac_cache_corrupted=: ;;
2023    ,set)
2024      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2025$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2026      ac_cache_corrupted=: ;;
2027    ,);;
2028    *)
2029      if test "x$ac_old_val" != "x$ac_new_val"; then
2030	# differences in whitespace do not lead to failure.
2031	ac_old_val_w=`echo x $ac_old_val`
2032	ac_new_val_w=`echo x $ac_new_val`
2033	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2034	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2035$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2036	  ac_cache_corrupted=:
2037	else
2038	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2039$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2040	  eval $ac_var=\$ac_old_val
2041	fi
2042	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2043$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2044	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2045$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2046      fi;;
2047  esac
2048  # Pass precious variables to config.status.
2049  if test "$ac_new_set" = set; then
2050    case $ac_new_val in
2051    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2052    *) ac_arg=$ac_var=$ac_new_val ;;
2053    esac
2054    case " $ac_configure_args " in
2055      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2056      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2057    esac
2058  fi
2059done
2060if $ac_cache_corrupted; then
2061  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2062$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2063  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2064$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2065  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2066fi
2067## -------------------- ##
2068## Main body of script. ##
2069## -------------------- ##
2070
2071ac_ext=c
2072ac_cpp='$CPP $CPPFLAGS'
2073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2075ac_compiler_gnu=$ac_cv_c_compiler_gnu
2076
2077
2078
2079
2080
2081
2082ac_config_headers="$ac_config_headers cbits/config.h"
2083
2084
2085ac_ext=c
2086ac_cpp='$CPP $CPPFLAGS'
2087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090if test -n "$ac_tool_prefix"; then
2091  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2092set dummy ${ac_tool_prefix}gcc; ac_word=$2
2093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2094$as_echo_n "checking for $ac_word... " >&6; }
2095if ${ac_cv_prog_CC+:} false; then :
2096  $as_echo_n "(cached) " >&6
2097else
2098  if test -n "$CC"; then
2099  ac_cv_prog_CC="$CC" # Let the user override the test.
2100else
2101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102for as_dir in $PATH
2103do
2104  IFS=$as_save_IFS
2105  test -z "$as_dir" && as_dir=.
2106    for ac_exec_ext in '' $ac_executable_extensions; do
2107  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2109    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2110    break 2
2111  fi
2112done
2113  done
2114IFS=$as_save_IFS
2115
2116fi
2117fi
2118CC=$ac_cv_prog_CC
2119if test -n "$CC"; then
2120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2121$as_echo "$CC" >&6; }
2122else
2123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2124$as_echo "no" >&6; }
2125fi
2126
2127
2128fi
2129if test -z "$ac_cv_prog_CC"; then
2130  ac_ct_CC=$CC
2131  # Extract the first word of "gcc", so it can be a program name with args.
2132set dummy gcc; ac_word=$2
2133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2134$as_echo_n "checking for $ac_word... " >&6; }
2135if ${ac_cv_prog_ac_ct_CC+:} false; then :
2136  $as_echo_n "(cached) " >&6
2137else
2138  if test -n "$ac_ct_CC"; then
2139  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2140else
2141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142for as_dir in $PATH
2143do
2144  IFS=$as_save_IFS
2145  test -z "$as_dir" && as_dir=.
2146    for ac_exec_ext in '' $ac_executable_extensions; do
2147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2148    ac_cv_prog_ac_ct_CC="gcc"
2149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150    break 2
2151  fi
2152done
2153  done
2154IFS=$as_save_IFS
2155
2156fi
2157fi
2158ac_ct_CC=$ac_cv_prog_ac_ct_CC
2159if test -n "$ac_ct_CC"; then
2160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2161$as_echo "$ac_ct_CC" >&6; }
2162else
2163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2164$as_echo "no" >&6; }
2165fi
2166
2167  if test "x$ac_ct_CC" = x; then
2168    CC=""
2169  else
2170    case $cross_compiling:$ac_tool_warned in
2171yes:)
2172{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2173$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2174ac_tool_warned=yes ;;
2175esac
2176    CC=$ac_ct_CC
2177  fi
2178else
2179  CC="$ac_cv_prog_CC"
2180fi
2181
2182if test -z "$CC"; then
2183          if test -n "$ac_tool_prefix"; then
2184    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2185set dummy ${ac_tool_prefix}cc; ac_word=$2
2186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187$as_echo_n "checking for $ac_word... " >&6; }
2188if ${ac_cv_prog_CC+:} false; then :
2189  $as_echo_n "(cached) " >&6
2190else
2191  if test -n "$CC"; then
2192  ac_cv_prog_CC="$CC" # Let the user override the test.
2193else
2194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195for as_dir in $PATH
2196do
2197  IFS=$as_save_IFS
2198  test -z "$as_dir" && as_dir=.
2199    for ac_exec_ext in '' $ac_executable_extensions; do
2200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201    ac_cv_prog_CC="${ac_tool_prefix}cc"
2202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203    break 2
2204  fi
2205done
2206  done
2207IFS=$as_save_IFS
2208
2209fi
2210fi
2211CC=$ac_cv_prog_CC
2212if test -n "$CC"; then
2213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2214$as_echo "$CC" >&6; }
2215else
2216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217$as_echo "no" >&6; }
2218fi
2219
2220
2221  fi
2222fi
2223if test -z "$CC"; then
2224  # Extract the first word of "cc", so it can be a program name with args.
2225set dummy cc; ac_word=$2
2226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227$as_echo_n "checking for $ac_word... " >&6; }
2228if ${ac_cv_prog_CC+:} false; then :
2229  $as_echo_n "(cached) " >&6
2230else
2231  if test -n "$CC"; then
2232  ac_cv_prog_CC="$CC" # Let the user override the test.
2233else
2234  ac_prog_rejected=no
2235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236for as_dir in $PATH
2237do
2238  IFS=$as_save_IFS
2239  test -z "$as_dir" && as_dir=.
2240    for ac_exec_ext in '' $ac_executable_extensions; do
2241  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2243       ac_prog_rejected=yes
2244       continue
2245     fi
2246    ac_cv_prog_CC="cc"
2247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2248    break 2
2249  fi
2250done
2251  done
2252IFS=$as_save_IFS
2253
2254if test $ac_prog_rejected = yes; then
2255  # We found a bogon in the path, so make sure we never use it.
2256  set dummy $ac_cv_prog_CC
2257  shift
2258  if test $# != 0; then
2259    # We chose a different compiler from the bogus one.
2260    # However, it has the same basename, so the bogon will be chosen
2261    # first if we set CC to just the basename; use the full file name.
2262    shift
2263    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2264  fi
2265fi
2266fi
2267fi
2268CC=$ac_cv_prog_CC
2269if test -n "$CC"; then
2270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2271$as_echo "$CC" >&6; }
2272else
2273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274$as_echo "no" >&6; }
2275fi
2276
2277
2278fi
2279if test -z "$CC"; then
2280  if test -n "$ac_tool_prefix"; then
2281  for ac_prog in cl.exe
2282  do
2283    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2284set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286$as_echo_n "checking for $ac_word... " >&6; }
2287if ${ac_cv_prog_CC+:} false; then :
2288  $as_echo_n "(cached) " >&6
2289else
2290  if test -n "$CC"; then
2291  ac_cv_prog_CC="$CC" # Let the user override the test.
2292else
2293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294for as_dir in $PATH
2295do
2296  IFS=$as_save_IFS
2297  test -z "$as_dir" && as_dir=.
2298    for ac_exec_ext in '' $ac_executable_extensions; do
2299  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2302    break 2
2303  fi
2304done
2305  done
2306IFS=$as_save_IFS
2307
2308fi
2309fi
2310CC=$ac_cv_prog_CC
2311if test -n "$CC"; then
2312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2313$as_echo "$CC" >&6; }
2314else
2315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316$as_echo "no" >&6; }
2317fi
2318
2319
2320    test -n "$CC" && break
2321  done
2322fi
2323if test -z "$CC"; then
2324  ac_ct_CC=$CC
2325  for ac_prog in cl.exe
2326do
2327  # Extract the first word of "$ac_prog", so it can be a program name with args.
2328set dummy $ac_prog; ac_word=$2
2329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2330$as_echo_n "checking for $ac_word... " >&6; }
2331if ${ac_cv_prog_ac_ct_CC+:} false; then :
2332  $as_echo_n "(cached) " >&6
2333else
2334  if test -n "$ac_ct_CC"; then
2335  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2336else
2337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338for as_dir in $PATH
2339do
2340  IFS=$as_save_IFS
2341  test -z "$as_dir" && as_dir=.
2342    for ac_exec_ext in '' $ac_executable_extensions; do
2343  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344    ac_cv_prog_ac_ct_CC="$ac_prog"
2345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346    break 2
2347  fi
2348done
2349  done
2350IFS=$as_save_IFS
2351
2352fi
2353fi
2354ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355if test -n "$ac_ct_CC"; then
2356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2357$as_echo "$ac_ct_CC" >&6; }
2358else
2359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2360$as_echo "no" >&6; }
2361fi
2362
2363
2364  test -n "$ac_ct_CC" && break
2365done
2366
2367  if test "x$ac_ct_CC" = x; then
2368    CC=""
2369  else
2370    case $cross_compiling:$ac_tool_warned in
2371yes:)
2372{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2374ac_tool_warned=yes ;;
2375esac
2376    CC=$ac_ct_CC
2377  fi
2378fi
2379
2380fi
2381
2382
2383test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385as_fn_error $? "no acceptable C compiler found in \$PATH
2386See \`config.log' for more details" "$LINENO" 5; }
2387
2388# Provide some information about the compiler.
2389$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2390set X $ac_compile
2391ac_compiler=$2
2392for ac_option in --version -v -V -qversion; do
2393  { { ac_try="$ac_compiler $ac_option >&5"
2394case "(($ac_try" in
2395  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396  *) ac_try_echo=$ac_try;;
2397esac
2398eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399$as_echo "$ac_try_echo"; } >&5
2400  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2401  ac_status=$?
2402  if test -s conftest.err; then
2403    sed '10a\
2404... rest of stderr output deleted ...
2405         10q' conftest.err >conftest.er1
2406    cat conftest.er1 >&5
2407  fi
2408  rm -f conftest.er1 conftest.err
2409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410  test $ac_status = 0; }
2411done
2412
2413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414/* end confdefs.h.  */
2415
2416int
2417main ()
2418{
2419
2420  ;
2421  return 0;
2422}
2423_ACEOF
2424ac_clean_files_save=$ac_clean_files
2425ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2426# Try to create an executable without -o first, disregard a.out.
2427# It will help us diagnose broken compilers, and finding out an intuition
2428# of exeext.
2429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2430$as_echo_n "checking whether the C compiler works... " >&6; }
2431ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2432
2433# The possible output files:
2434ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2435
2436ac_rmfiles=
2437for ac_file in $ac_files
2438do
2439  case $ac_file in
2440    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2441    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2442  esac
2443done
2444rm -f $ac_rmfiles
2445
2446if { { ac_try="$ac_link_default"
2447case "(($ac_try" in
2448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449  *) ac_try_echo=$ac_try;;
2450esac
2451eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452$as_echo "$ac_try_echo"; } >&5
2453  (eval "$ac_link_default") 2>&5
2454  ac_status=$?
2455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2456  test $ac_status = 0; }; then :
2457  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2460# so that the user can short-circuit this test for compilers unknown to
2461# Autoconf.
2462for ac_file in $ac_files ''
2463do
2464  test -f "$ac_file" || continue
2465  case $ac_file in
2466    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2467	;;
2468    [ab].out )
2469	# We found the default executable, but exeext='' is most
2470	# certainly right.
2471	break;;
2472    *.* )
2473	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474	then :; else
2475	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476	fi
2477	# We set ac_cv_exeext here because the later test for it is not
2478	# safe: cross compilers may not add the suffix if given an `-o'
2479	# argument, so we may need to know it at that point already.
2480	# Even if this section looks crufty: it has the advantage of
2481	# actually working.
2482	break;;
2483    * )
2484	break;;
2485  esac
2486done
2487test "$ac_cv_exeext" = no && ac_cv_exeext=
2488
2489else
2490  ac_file=''
2491fi
2492if test -z "$ac_file"; then :
2493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494$as_echo "no" >&6; }
2495$as_echo "$as_me: failed program was:" >&5
2496sed 's/^/| /' conftest.$ac_ext >&5
2497
2498{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2500as_fn_error 77 "C compiler cannot create executables
2501See \`config.log' for more details" "$LINENO" 5; }
2502else
2503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504$as_echo "yes" >&6; }
2505fi
2506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2507$as_echo_n "checking for C compiler default output file name... " >&6; }
2508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2509$as_echo "$ac_file" >&6; }
2510ac_exeext=$ac_cv_exeext
2511
2512rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2513ac_clean_files=$ac_clean_files_save
2514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2515$as_echo_n "checking for suffix of executables... " >&6; }
2516if { { ac_try="$ac_link"
2517case "(($ac_try" in
2518  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519  *) ac_try_echo=$ac_try;;
2520esac
2521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522$as_echo "$ac_try_echo"; } >&5
2523  (eval "$ac_link") 2>&5
2524  ac_status=$?
2525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2526  test $ac_status = 0; }; then :
2527  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2528# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2529# work properly (i.e., refer to `conftest.exe'), while it won't with
2530# `rm'.
2531for ac_file in conftest.exe conftest conftest.*; do
2532  test -f "$ac_file" || continue
2533  case $ac_file in
2534    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2535    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2536	  break;;
2537    * ) break;;
2538  esac
2539done
2540else
2541  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2543as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2544See \`config.log' for more details" "$LINENO" 5; }
2545fi
2546rm -f conftest conftest$ac_cv_exeext
2547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2548$as_echo "$ac_cv_exeext" >&6; }
2549
2550rm -f conftest.$ac_ext
2551EXEEXT=$ac_cv_exeext
2552ac_exeext=$EXEEXT
2553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554/* end confdefs.h.  */
2555#include <stdio.h>
2556int
2557main ()
2558{
2559FILE *f = fopen ("conftest.out", "w");
2560 return ferror (f) || fclose (f) != 0;
2561
2562  ;
2563  return 0;
2564}
2565_ACEOF
2566ac_clean_files="$ac_clean_files conftest.out"
2567# Check that the compiler produces executables we can run.  If not, either
2568# the compiler is broken, or we cross compile.
2569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2570$as_echo_n "checking whether we are cross compiling... " >&6; }
2571if test "$cross_compiling" != yes; then
2572  { { ac_try="$ac_link"
2573case "(($ac_try" in
2574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575  *) ac_try_echo=$ac_try;;
2576esac
2577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578$as_echo "$ac_try_echo"; } >&5
2579  (eval "$ac_link") 2>&5
2580  ac_status=$?
2581  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582  test $ac_status = 0; }
2583  if { ac_try='./conftest$ac_cv_exeext'
2584  { { case "(($ac_try" in
2585  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586  *) ac_try_echo=$ac_try;;
2587esac
2588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589$as_echo "$ac_try_echo"; } >&5
2590  (eval "$ac_try") 2>&5
2591  ac_status=$?
2592  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593  test $ac_status = 0; }; }; then
2594    cross_compiling=no
2595  else
2596    if test "$cross_compiling" = maybe; then
2597	cross_compiling=yes
2598    else
2599	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601as_fn_error $? "cannot run C compiled programs.
2602If you meant to cross compile, use \`--host'.
2603See \`config.log' for more details" "$LINENO" 5; }
2604    fi
2605  fi
2606fi
2607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2608$as_echo "$cross_compiling" >&6; }
2609
2610rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2611ac_clean_files=$ac_clean_files_save
2612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2613$as_echo_n "checking for suffix of object files... " >&6; }
2614if ${ac_cv_objext+:} false; then :
2615  $as_echo_n "(cached) " >&6
2616else
2617  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618/* end confdefs.h.  */
2619
2620int
2621main ()
2622{
2623
2624  ;
2625  return 0;
2626}
2627_ACEOF
2628rm -f conftest.o conftest.obj
2629if { { ac_try="$ac_compile"
2630case "(($ac_try" in
2631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632  *) ac_try_echo=$ac_try;;
2633esac
2634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635$as_echo "$ac_try_echo"; } >&5
2636  (eval "$ac_compile") 2>&5
2637  ac_status=$?
2638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2639  test $ac_status = 0; }; then :
2640  for ac_file in conftest.o conftest.obj conftest.*; do
2641  test -f "$ac_file" || continue;
2642  case $ac_file in
2643    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2644    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2645       break;;
2646  esac
2647done
2648else
2649  $as_echo "$as_me: failed program was:" >&5
2650sed 's/^/| /' conftest.$ac_ext >&5
2651
2652{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654as_fn_error $? "cannot compute suffix of object files: cannot compile
2655See \`config.log' for more details" "$LINENO" 5; }
2656fi
2657rm -f conftest.$ac_cv_objext conftest.$ac_ext
2658fi
2659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2660$as_echo "$ac_cv_objext" >&6; }
2661OBJEXT=$ac_cv_objext
2662ac_objext=$OBJEXT
2663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2664$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2665if ${ac_cv_c_compiler_gnu+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669/* end confdefs.h.  */
2670
2671int
2672main ()
2673{
2674#ifndef __GNUC__
2675       choke me
2676#endif
2677
2678  ;
2679  return 0;
2680}
2681_ACEOF
2682if ac_fn_c_try_compile "$LINENO"; then :
2683  ac_compiler_gnu=yes
2684else
2685  ac_compiler_gnu=no
2686fi
2687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2688ac_cv_c_compiler_gnu=$ac_compiler_gnu
2689
2690fi
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2692$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2693if test $ac_compiler_gnu = yes; then
2694  GCC=yes
2695else
2696  GCC=
2697fi
2698ac_test_CFLAGS=${CFLAGS+set}
2699ac_save_CFLAGS=$CFLAGS
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2701$as_echo_n "checking whether $CC accepts -g... " >&6; }
2702if ${ac_cv_prog_cc_g+:} false; then :
2703  $as_echo_n "(cached) " >&6
2704else
2705  ac_save_c_werror_flag=$ac_c_werror_flag
2706   ac_c_werror_flag=yes
2707   ac_cv_prog_cc_g=no
2708   CFLAGS="-g"
2709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710/* end confdefs.h.  */
2711
2712int
2713main ()
2714{
2715
2716  ;
2717  return 0;
2718}
2719_ACEOF
2720if ac_fn_c_try_compile "$LINENO"; then :
2721  ac_cv_prog_cc_g=yes
2722else
2723  CFLAGS=""
2724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725/* end confdefs.h.  */
2726
2727int
2728main ()
2729{
2730
2731  ;
2732  return 0;
2733}
2734_ACEOF
2735if ac_fn_c_try_compile "$LINENO"; then :
2736
2737else
2738  ac_c_werror_flag=$ac_save_c_werror_flag
2739	 CFLAGS="-g"
2740	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741/* end confdefs.h.  */
2742
2743int
2744main ()
2745{
2746
2747  ;
2748  return 0;
2749}
2750_ACEOF
2751if ac_fn_c_try_compile "$LINENO"; then :
2752  ac_cv_prog_cc_g=yes
2753fi
2754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755fi
2756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757fi
2758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759   ac_c_werror_flag=$ac_save_c_werror_flag
2760fi
2761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2762$as_echo "$ac_cv_prog_cc_g" >&6; }
2763if test "$ac_test_CFLAGS" = set; then
2764  CFLAGS=$ac_save_CFLAGS
2765elif test $ac_cv_prog_cc_g = yes; then
2766  if test "$GCC" = yes; then
2767    CFLAGS="-g -O2"
2768  else
2769    CFLAGS="-g"
2770  fi
2771else
2772  if test "$GCC" = yes; then
2773    CFLAGS="-O2"
2774  else
2775    CFLAGS=
2776  fi
2777fi
2778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2779$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2780if ${ac_cv_prog_cc_c89+:} false; then :
2781  $as_echo_n "(cached) " >&6
2782else
2783  ac_cv_prog_cc_c89=no
2784ac_save_CC=$CC
2785cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786/* end confdefs.h.  */
2787#include <stdarg.h>
2788#include <stdio.h>
2789struct stat;
2790/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2791struct buf { int x; };
2792FILE * (*rcsopen) (struct buf *, struct stat *, int);
2793static char *e (p, i)
2794     char **p;
2795     int i;
2796{
2797  return p[i];
2798}
2799static char *f (char * (*g) (char **, int), char **p, ...)
2800{
2801  char *s;
2802  va_list v;
2803  va_start (v,p);
2804  s = g (p, va_arg (v,int));
2805  va_end (v);
2806  return s;
2807}
2808
2809/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2810   function prototypes and stuff, but not '\xHH' hex character constants.
2811   These don't provoke an error unfortunately, instead are silently treated
2812   as 'x'.  The following induces an error, until -std is added to get
2813   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2814   array size at least.  It's necessary to write '\x00'==0 to get something
2815   that's true only with -std.  */
2816int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2817
2818/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2819   inside strings and character constants.  */
2820#define FOO(x) 'x'
2821int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2822
2823int test (int i, double x);
2824struct s1 {int (*f) (int a);};
2825struct s2 {int (*f) (double a);};
2826int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2827int argc;
2828char **argv;
2829int
2830main ()
2831{
2832return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2833  ;
2834  return 0;
2835}
2836_ACEOF
2837for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2838	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2839do
2840  CC="$ac_save_CC $ac_arg"
2841  if ac_fn_c_try_compile "$LINENO"; then :
2842  ac_cv_prog_cc_c89=$ac_arg
2843fi
2844rm -f core conftest.err conftest.$ac_objext
2845  test "x$ac_cv_prog_cc_c89" != "xno" && break
2846done
2847rm -f conftest.$ac_ext
2848CC=$ac_save_CC
2849
2850fi
2851# AC_CACHE_VAL
2852case "x$ac_cv_prog_cc_c89" in
2853  x)
2854    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2855$as_echo "none needed" >&6; } ;;
2856  xno)
2857    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2858$as_echo "unsupported" >&6; } ;;
2859  *)
2860    CC="$CC $ac_cv_prog_cc_c89"
2861    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2862$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2863esac
2864if test "x$ac_cv_prog_cc_c89" != xno; then :
2865
2866fi
2867
2868ac_ext=c
2869ac_cpp='$CPP $CPPFLAGS'
2870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2872ac_compiler_gnu=$ac_cv_c_compiler_gnu
2873
2874
2875ac_ext=c
2876ac_cpp='$CPP $CPPFLAGS'
2877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2879ac_compiler_gnu=$ac_cv_c_compiler_gnu
2880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2881$as_echo_n "checking how to run the C preprocessor... " >&6; }
2882# On Suns, sometimes $CPP names a directory.
2883if test -n "$CPP" && test -d "$CPP"; then
2884  CPP=
2885fi
2886if test -z "$CPP"; then
2887  if ${ac_cv_prog_CPP+:} false; then :
2888  $as_echo_n "(cached) " >&6
2889else
2890      # Double quotes because CPP needs to be expanded
2891    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2892    do
2893      ac_preproc_ok=false
2894for ac_c_preproc_warn_flag in '' yes
2895do
2896  # Use a header file that comes with gcc, so configuring glibc
2897  # with a fresh cross-compiler works.
2898  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2899  # <limits.h> exists even on freestanding compilers.
2900  # On the NeXT, cc -E runs the code through the compiler's parser,
2901  # not just through cpp. "Syntax error" is here to catch this case.
2902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903/* end confdefs.h.  */
2904#ifdef __STDC__
2905# include <limits.h>
2906#else
2907# include <assert.h>
2908#endif
2909		     Syntax error
2910_ACEOF
2911if ac_fn_c_try_cpp "$LINENO"; then :
2912
2913else
2914  # Broken: fails on valid input.
2915continue
2916fi
2917rm -f conftest.err conftest.i conftest.$ac_ext
2918
2919  # OK, works on sane cases.  Now check whether nonexistent headers
2920  # can be detected and how.
2921  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922/* end confdefs.h.  */
2923#include <ac_nonexistent.h>
2924_ACEOF
2925if ac_fn_c_try_cpp "$LINENO"; then :
2926  # Broken: success on invalid input.
2927continue
2928else
2929  # Passes both tests.
2930ac_preproc_ok=:
2931break
2932fi
2933rm -f conftest.err conftest.i conftest.$ac_ext
2934
2935done
2936# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2937rm -f conftest.i conftest.err conftest.$ac_ext
2938if $ac_preproc_ok; then :
2939  break
2940fi
2941
2942    done
2943    ac_cv_prog_CPP=$CPP
2944
2945fi
2946  CPP=$ac_cv_prog_CPP
2947else
2948  ac_cv_prog_CPP=$CPP
2949fi
2950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2951$as_echo "$CPP" >&6; }
2952ac_preproc_ok=false
2953for ac_c_preproc_warn_flag in '' yes
2954do
2955  # Use a header file that comes with gcc, so configuring glibc
2956  # with a fresh cross-compiler works.
2957  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2958  # <limits.h> exists even on freestanding compilers.
2959  # On the NeXT, cc -E runs the code through the compiler's parser,
2960  # not just through cpp. "Syntax error" is here to catch this case.
2961  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962/* end confdefs.h.  */
2963#ifdef __STDC__
2964# include <limits.h>
2965#else
2966# include <assert.h>
2967#endif
2968		     Syntax error
2969_ACEOF
2970if ac_fn_c_try_cpp "$LINENO"; then :
2971
2972else
2973  # Broken: fails on valid input.
2974continue
2975fi
2976rm -f conftest.err conftest.i conftest.$ac_ext
2977
2978  # OK, works on sane cases.  Now check whether nonexistent headers
2979  # can be detected and how.
2980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981/* end confdefs.h.  */
2982#include <ac_nonexistent.h>
2983_ACEOF
2984if ac_fn_c_try_cpp "$LINENO"; then :
2985  # Broken: success on invalid input.
2986continue
2987else
2988  # Passes both tests.
2989ac_preproc_ok=:
2990break
2991fi
2992rm -f conftest.err conftest.i conftest.$ac_ext
2993
2994done
2995# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2996rm -f conftest.i conftest.err conftest.$ac_ext
2997if $ac_preproc_ok; then :
2998
2999else
3000  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3002as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3003See \`config.log' for more details" "$LINENO" 5; }
3004fi
3005
3006ac_ext=c
3007ac_cpp='$CPP $CPPFLAGS'
3008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011
3012
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3014$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3015if ${ac_cv_path_GREP+:} false; then :
3016  $as_echo_n "(cached) " >&6
3017else
3018  if test -z "$GREP"; then
3019  ac_path_GREP_found=false
3020  # Loop through the user's path and test for each of PROGNAME-LIST
3021  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3023do
3024  IFS=$as_save_IFS
3025  test -z "$as_dir" && as_dir=.
3026    for ac_prog in grep ggrep; do
3027    for ac_exec_ext in '' $ac_executable_extensions; do
3028      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3029      as_fn_executable_p "$ac_path_GREP" || continue
3030# Check for GNU ac_path_GREP and select it if it is found.
3031  # Check for GNU $ac_path_GREP
3032case `"$ac_path_GREP" --version 2>&1` in
3033*GNU*)
3034  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3035*)
3036  ac_count=0
3037  $as_echo_n 0123456789 >"conftest.in"
3038  while :
3039  do
3040    cat "conftest.in" "conftest.in" >"conftest.tmp"
3041    mv "conftest.tmp" "conftest.in"
3042    cp "conftest.in" "conftest.nl"
3043    $as_echo 'GREP' >> "conftest.nl"
3044    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3045    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3046    as_fn_arith $ac_count + 1 && ac_count=$as_val
3047    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3048      # Best one so far, save it but keep looking for a better one
3049      ac_cv_path_GREP="$ac_path_GREP"
3050      ac_path_GREP_max=$ac_count
3051    fi
3052    # 10*(2^10) chars as input seems more than enough
3053    test $ac_count -gt 10 && break
3054  done
3055  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3056esac
3057
3058      $ac_path_GREP_found && break 3
3059    done
3060  done
3061  done
3062IFS=$as_save_IFS
3063  if test -z "$ac_cv_path_GREP"; then
3064    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3065  fi
3066else
3067  ac_cv_path_GREP=$GREP
3068fi
3069
3070fi
3071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3072$as_echo "$ac_cv_path_GREP" >&6; }
3073 GREP="$ac_cv_path_GREP"
3074
3075
3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3077$as_echo_n "checking for egrep... " >&6; }
3078if ${ac_cv_path_EGREP+:} false; then :
3079  $as_echo_n "(cached) " >&6
3080else
3081  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3082   then ac_cv_path_EGREP="$GREP -E"
3083   else
3084     if test -z "$EGREP"; then
3085  ac_path_EGREP_found=false
3086  # Loop through the user's path and test for each of PROGNAME-LIST
3087  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3089do
3090  IFS=$as_save_IFS
3091  test -z "$as_dir" && as_dir=.
3092    for ac_prog in egrep; do
3093    for ac_exec_ext in '' $ac_executable_extensions; do
3094      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3095      as_fn_executable_p "$ac_path_EGREP" || continue
3096# Check for GNU ac_path_EGREP and select it if it is found.
3097  # Check for GNU $ac_path_EGREP
3098case `"$ac_path_EGREP" --version 2>&1` in
3099*GNU*)
3100  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3101*)
3102  ac_count=0
3103  $as_echo_n 0123456789 >"conftest.in"
3104  while :
3105  do
3106    cat "conftest.in" "conftest.in" >"conftest.tmp"
3107    mv "conftest.tmp" "conftest.in"
3108    cp "conftest.in" "conftest.nl"
3109    $as_echo 'EGREP' >> "conftest.nl"
3110    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3111    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3112    as_fn_arith $ac_count + 1 && ac_count=$as_val
3113    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3114      # Best one so far, save it but keep looking for a better one
3115      ac_cv_path_EGREP="$ac_path_EGREP"
3116      ac_path_EGREP_max=$ac_count
3117    fi
3118    # 10*(2^10) chars as input seems more than enough
3119    test $ac_count -gt 10 && break
3120  done
3121  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3122esac
3123
3124      $ac_path_EGREP_found && break 3
3125    done
3126  done
3127  done
3128IFS=$as_save_IFS
3129  if test -z "$ac_cv_path_EGREP"; then
3130    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3131  fi
3132else
3133  ac_cv_path_EGREP=$EGREP
3134fi
3135
3136   fi
3137fi
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3139$as_echo "$ac_cv_path_EGREP" >&6; }
3140 EGREP="$ac_cv_path_EGREP"
3141
3142
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3144$as_echo_n "checking for ANSI C header files... " >&6; }
3145if ${ac_cv_header_stdc+:} false; then :
3146  $as_echo_n "(cached) " >&6
3147else
3148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149/* end confdefs.h.  */
3150#include <stdlib.h>
3151#include <stdarg.h>
3152#include <string.h>
3153#include <float.h>
3154
3155int
3156main ()
3157{
3158
3159  ;
3160  return 0;
3161}
3162_ACEOF
3163if ac_fn_c_try_compile "$LINENO"; then :
3164  ac_cv_header_stdc=yes
3165else
3166  ac_cv_header_stdc=no
3167fi
3168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169
3170if test $ac_cv_header_stdc = yes; then
3171  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3172  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173/* end confdefs.h.  */
3174#include <string.h>
3175
3176_ACEOF
3177if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3178  $EGREP "memchr" >/dev/null 2>&1; then :
3179
3180else
3181  ac_cv_header_stdc=no
3182fi
3183rm -f conftest*
3184
3185fi
3186
3187if test $ac_cv_header_stdc = yes; then
3188  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190/* end confdefs.h.  */
3191#include <stdlib.h>
3192
3193_ACEOF
3194if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3195  $EGREP "free" >/dev/null 2>&1; then :
3196
3197else
3198  ac_cv_header_stdc=no
3199fi
3200rm -f conftest*
3201
3202fi
3203
3204if test $ac_cv_header_stdc = yes; then
3205  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3206  if test "$cross_compiling" = yes; then :
3207  :
3208else
3209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210/* end confdefs.h.  */
3211#include <ctype.h>
3212#include <stdlib.h>
3213#if ((' ' & 0x0FF) == 0x020)
3214# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3215# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3216#else
3217# define ISLOWER(c) \
3218		   (('a' <= (c) && (c) <= 'i') \
3219		     || ('j' <= (c) && (c) <= 'r') \
3220		     || ('s' <= (c) && (c) <= 'z'))
3221# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3222#endif
3223
3224#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3225int
3226main ()
3227{
3228  int i;
3229  for (i = 0; i < 256; i++)
3230    if (XOR (islower (i), ISLOWER (i))
3231	|| toupper (i) != TOUPPER (i))
3232      return 2;
3233  return 0;
3234}
3235_ACEOF
3236if ac_fn_c_try_run "$LINENO"; then :
3237
3238else
3239  ac_cv_header_stdc=no
3240fi
3241rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3242  conftest.$ac_objext conftest.beam conftest.$ac_ext
3243fi
3244
3245fi
3246fi
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3248$as_echo "$ac_cv_header_stdc" >&6; }
3249if test $ac_cv_header_stdc = yes; then
3250
3251$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3252
3253fi
3254
3255# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3256for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3257		  inttypes.h stdint.h unistd.h
3258do :
3259  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3260ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3261"
3262if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3263  cat >>confdefs.h <<_ACEOF
3264#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3265_ACEOF
3266
3267fi
3268
3269done
3270
3271
3272for ac_header in xlocale.h
3273do :
3274  ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
3275if test "x$ac_cv_header_xlocale_h" = xyes; then :
3276  cat >>confdefs.h <<_ACEOF
3277#define HAVE_XLOCALE_H 1
3278_ACEOF
3279
3280fi
3281
3282done
3283
3284
3285for ac_func in strptime_l
3286do :
3287  ac_fn_c_check_func "$LINENO" "strptime_l" "ac_cv_func_strptime_l"
3288if test "x$ac_cv_func_strptime_l" = xyes; then :
3289  cat >>confdefs.h <<_ACEOF
3290#define HAVE_STRPTIME_L 1
3291_ACEOF
3292
3293fi
3294done
3295
3296for ac_func in timegm
3297do :
3298  ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
3299if test "x$ac_cv_func_timegm" = xyes; then :
3300  cat >>confdefs.h <<_ACEOF
3301#define HAVE_TIMEGM 1
3302_ACEOF
3303
3304fi
3305done
3306
3307for ac_func in _mkgmtime
3308do :
3309  ac_fn_c_check_func "$LINENO" "_mkgmtime" "ac_cv_func__mkgmtime"
3310if test "x$ac_cv_func__mkgmtime" = xyes; then :
3311  cat >>confdefs.h <<_ACEOF
3312#define HAVE__MKGMTIME 1
3313_ACEOF
3314
3315fi
3316done
3317
3318for ac_func in _get_current_locale
3319do :
3320  ac_fn_c_check_func "$LINENO" "_get_current_locale" "ac_cv_func__get_current_locale"
3321if test "x$ac_cv_func__get_current_locale" = xyes; then :
3322  cat >>confdefs.h <<_ACEOF
3323#define HAVE__GET_CURRENT_LOCALE 1
3324_ACEOF
3325
3326fi
3327done
3328
3329for ac_func in _create_locale
3330do :
3331  ac_fn_c_check_func "$LINENO" "_create_locale" "ac_cv_func__create_locale"
3332if test "x$ac_cv_func__create_locale" = xyes; then :
3333  cat >>confdefs.h <<_ACEOF
3334#define HAVE__CREATE_LOCALE 1
3335_ACEOF
3336
3337fi
3338done
3339
3340for ac_func in strtol_l
3341do :
3342  ac_fn_c_check_func "$LINENO" "strtol_l" "ac_cv_func_strtol_l"
3343if test "x$ac_cv_func_strtol_l" = xyes; then :
3344  cat >>confdefs.h <<_ACEOF
3345#define HAVE_STRTOL_L 1
3346_ACEOF
3347
3348fi
3349done
3350
3351for ac_func in strtoll_l
3352do :
3353  ac_fn_c_check_func "$LINENO" "strtoll_l" "ac_cv_func_strtoll_l"
3354if test "x$ac_cv_func_strtoll_l" = xyes; then :
3355  cat >>confdefs.h <<_ACEOF
3356#define HAVE_STRTOLL_L 1
3357_ACEOF
3358
3359fi
3360done
3361
3362for ac_func in _isspace_l
3363do :
3364  ac_fn_c_check_func "$LINENO" "_isspace_l" "ac_cv_func__isspace_l"
3365if test "x$ac_cv_func__isspace_l" = xyes; then :
3366  cat >>confdefs.h <<_ACEOF
3367#define HAVE__ISSPACE_L 1
3368_ACEOF
3369
3370fi
3371done
3372
3373for ac_func in _isupper_l
3374do :
3375  ac_fn_c_check_func "$LINENO" "_isupper_l" "ac_cv_func__isupper_l"
3376if test "x$ac_cv_func__isupper_l" = xyes; then :
3377  cat >>confdefs.h <<_ACEOF
3378#define HAVE__ISUPPER_L 1
3379_ACEOF
3380
3381fi
3382done
3383
3384for ac_func in _isdigit_l
3385do :
3386  ac_fn_c_check_func "$LINENO" "_isdigit_l" "ac_cv_func__isdigit_l"
3387if test "x$ac_cv_func__isdigit_l" = xyes; then :
3388  cat >>confdefs.h <<_ACEOF
3389#define HAVE__ISDIGIT_L 1
3390_ACEOF
3391
3392fi
3393done
3394
3395for ac_func in _isblank_l
3396do :
3397  ac_fn_c_check_func "$LINENO" "_isblank_l" "ac_cv_func__isblank_l"
3398if test "x$ac_cv_func__isblank_l" = xyes; then :
3399  cat >>confdefs.h <<_ACEOF
3400#define HAVE__ISBLANK_L 1
3401_ACEOF
3402
3403fi
3404done
3405
3406
3407host=`uname -a`
3408case $host in
3409  Linux*)
3410	LINUX=1
3411	;;
3412  *)
3413	LINUX=0
3414	;;
3415esac
3416
3417
3418cat >>confdefs.h <<_ACEOF
3419#define IS_LINUX $LINUX
3420_ACEOF
3421
3422
3423case $host in
3424  MINGW??_NT-6.1*)
3425	NT61=1
3426	;;
3427  *)
3428	NT61=0
3429	;;
3430esac
3431
3432
3433cat >>confdefs.h <<_ACEOF
3434#define IS_NT61 $NT61
3435_ACEOF
3436
3437
3438cat >confcache <<\_ACEOF
3439# This file is a shell script that caches the results of configure
3440# tests run on this system so they can be shared between configure
3441# scripts and configure runs, see configure's option --config-cache.
3442# It is not useful on other systems.  If it contains results you don't
3443# want to keep, you may remove or edit it.
3444#
3445# config.status only pays attention to the cache file if you give it
3446# the --recheck option to rerun configure.
3447#
3448# `ac_cv_env_foo' variables (set or unset) will be overridden when
3449# loading this file, other *unset* `ac_cv_foo' will be assigned the
3450# following values.
3451
3452_ACEOF
3453
3454# The following way of writing the cache mishandles newlines in values,
3455# but we know of no workaround that is simple, portable, and efficient.
3456# So, we kill variables containing newlines.
3457# Ultrix sh set writes to stderr and can't be redirected directly,
3458# and sets the high bit in the cache file unless we assign to the vars.
3459(
3460  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3461    eval ac_val=\$$ac_var
3462    case $ac_val in #(
3463    *${as_nl}*)
3464      case $ac_var in #(
3465      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3466$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3467      esac
3468      case $ac_var in #(
3469      _ | IFS | as_nl) ;; #(
3470      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3471      *) { eval $ac_var=; unset $ac_var;} ;;
3472      esac ;;
3473    esac
3474  done
3475
3476  (set) 2>&1 |
3477    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3478    *${as_nl}ac_space=\ *)
3479      # `set' does not quote correctly, so add quotes: double-quote
3480      # substitution turns \\\\ into \\, and sed turns \\ into \.
3481      sed -n \
3482	"s/'/'\\\\''/g;
3483	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3484      ;; #(
3485    *)
3486      # `set' quotes correctly as required by POSIX, so do not add quotes.
3487      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3488      ;;
3489    esac |
3490    sort
3491) |
3492  sed '
3493     /^ac_cv_env_/b end
3494     t clear
3495     :clear
3496     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3497     t end
3498     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3499     :end' >>confcache
3500if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3501  if test -w "$cache_file"; then
3502    if test "x$cache_file" != "x/dev/null"; then
3503      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3504$as_echo "$as_me: updating cache $cache_file" >&6;}
3505      if test ! -f "$cache_file" || test -h "$cache_file"; then
3506	cat confcache >"$cache_file"
3507      else
3508        case $cache_file in #(
3509        */* | ?:*)
3510	  mv -f confcache "$cache_file"$$ &&
3511	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3512        *)
3513	  mv -f confcache "$cache_file" ;;
3514	esac
3515      fi
3516    fi
3517  else
3518    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3519$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3520  fi
3521fi
3522rm -f confcache
3523
3524test "x$prefix" = xNONE && prefix=$ac_default_prefix
3525# Let make expand exec_prefix.
3526test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3527
3528DEFS=-DHAVE_CONFIG_H
3529
3530ac_libobjs=
3531ac_ltlibobjs=
3532U=
3533for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3534  # 1. Remove the extension, and $U if already installed.
3535  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3536  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3537  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3538  #    will be set to the directory where LIBOBJS objects are built.
3539  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3540  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3541done
3542LIBOBJS=$ac_libobjs
3543
3544LTLIBOBJS=$ac_ltlibobjs
3545
3546
3547
3548: "${CONFIG_STATUS=./config.status}"
3549ac_write_fail=0
3550ac_clean_files_save=$ac_clean_files
3551ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3552{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3553$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3554as_write_fail=0
3555cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3556#! $SHELL
3557# Generated by $as_me.
3558# Run this file to recreate the current configuration.
3559# Compiler output produced by configure, useful for debugging
3560# configure, is in config.log if it exists.
3561
3562debug=false
3563ac_cs_recheck=false
3564ac_cs_silent=false
3565
3566SHELL=\${CONFIG_SHELL-$SHELL}
3567export SHELL
3568_ASEOF
3569cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3570## -------------------- ##
3571## M4sh Initialization. ##
3572## -------------------- ##
3573
3574# Be more Bourne compatible
3575DUALCASE=1; export DUALCASE # for MKS sh
3576if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3577  emulate sh
3578  NULLCMD=:
3579  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3580  # is contrary to our usage.  Disable this feature.
3581  alias -g '${1+"$@"}'='"$@"'
3582  setopt NO_GLOB_SUBST
3583else
3584  case `(set -o) 2>/dev/null` in #(
3585  *posix*) :
3586    set -o posix ;; #(
3587  *) :
3588     ;;
3589esac
3590fi
3591
3592
3593as_nl='
3594'
3595export as_nl
3596# Printing a long string crashes Solaris 7 /usr/bin/printf.
3597as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3598as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3599as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3600# Prefer a ksh shell builtin over an external printf program on Solaris,
3601# but without wasting forks for bash or zsh.
3602if test -z "$BASH_VERSION$ZSH_VERSION" \
3603    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3604  as_echo='print -r --'
3605  as_echo_n='print -rn --'
3606elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3607  as_echo='printf %s\n'
3608  as_echo_n='printf %s'
3609else
3610  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3611    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3612    as_echo_n='/usr/ucb/echo -n'
3613  else
3614    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3615    as_echo_n_body='eval
3616      arg=$1;
3617      case $arg in #(
3618      *"$as_nl"*)
3619	expr "X$arg" : "X\\(.*\\)$as_nl";
3620	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3621      esac;
3622      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3623    '
3624    export as_echo_n_body
3625    as_echo_n='sh -c $as_echo_n_body as_echo'
3626  fi
3627  export as_echo_body
3628  as_echo='sh -c $as_echo_body as_echo'
3629fi
3630
3631# The user is always right.
3632if test "${PATH_SEPARATOR+set}" != set; then
3633  PATH_SEPARATOR=:
3634  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3635    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3636      PATH_SEPARATOR=';'
3637  }
3638fi
3639
3640
3641# IFS
3642# We need space, tab and new line, in precisely that order.  Quoting is
3643# there to prevent editors from complaining about space-tab.
3644# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3645# splitting by setting IFS to empty value.)
3646IFS=" ""	$as_nl"
3647
3648# Find who we are.  Look in the path if we contain no directory separator.
3649as_myself=
3650case $0 in #((
3651  *[\\/]* ) as_myself=$0 ;;
3652  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653for as_dir in $PATH
3654do
3655  IFS=$as_save_IFS
3656  test -z "$as_dir" && as_dir=.
3657    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3658  done
3659IFS=$as_save_IFS
3660
3661     ;;
3662esac
3663# We did not find ourselves, most probably we were run as `sh COMMAND'
3664# in which case we are not to be found in the path.
3665if test "x$as_myself" = x; then
3666  as_myself=$0
3667fi
3668if test ! -f "$as_myself"; then
3669  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3670  exit 1
3671fi
3672
3673# Unset variables that we do not need and which cause bugs (e.g. in
3674# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3675# suppresses any "Segmentation fault" message there.  '((' could
3676# trigger a bug in pdksh 5.2.14.
3677for as_var in BASH_ENV ENV MAIL MAILPATH
3678do eval test x\${$as_var+set} = xset \
3679  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3680done
3681PS1='$ '
3682PS2='> '
3683PS4='+ '
3684
3685# NLS nuisances.
3686LC_ALL=C
3687export LC_ALL
3688LANGUAGE=C
3689export LANGUAGE
3690
3691# CDPATH.
3692(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3693
3694
3695# as_fn_error STATUS ERROR [LINENO LOG_FD]
3696# ----------------------------------------
3697# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3698# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3699# script with STATUS, using 1 if that was 0.
3700as_fn_error ()
3701{
3702  as_status=$1; test $as_status -eq 0 && as_status=1
3703  if test "$4"; then
3704    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3705    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3706  fi
3707  $as_echo "$as_me: error: $2" >&2
3708  as_fn_exit $as_status
3709} # as_fn_error
3710
3711
3712# as_fn_set_status STATUS
3713# -----------------------
3714# Set $? to STATUS, without forking.
3715as_fn_set_status ()
3716{
3717  return $1
3718} # as_fn_set_status
3719
3720# as_fn_exit STATUS
3721# -----------------
3722# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3723as_fn_exit ()
3724{
3725  set +e
3726  as_fn_set_status $1
3727  exit $1
3728} # as_fn_exit
3729
3730# as_fn_unset VAR
3731# ---------------
3732# Portably unset VAR.
3733as_fn_unset ()
3734{
3735  { eval $1=; unset $1;}
3736}
3737as_unset=as_fn_unset
3738# as_fn_append VAR VALUE
3739# ----------------------
3740# Append the text in VALUE to the end of the definition contained in VAR. Take
3741# advantage of any shell optimizations that allow amortized linear growth over
3742# repeated appends, instead of the typical quadratic growth present in naive
3743# implementations.
3744if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3745  eval 'as_fn_append ()
3746  {
3747    eval $1+=\$2
3748  }'
3749else
3750  as_fn_append ()
3751  {
3752    eval $1=\$$1\$2
3753  }
3754fi # as_fn_append
3755
3756# as_fn_arith ARG...
3757# ------------------
3758# Perform arithmetic evaluation on the ARGs, and store the result in the
3759# global $as_val. Take advantage of shells that can avoid forks. The arguments
3760# must be portable across $(()) and expr.
3761if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3762  eval 'as_fn_arith ()
3763  {
3764    as_val=$(( $* ))
3765  }'
3766else
3767  as_fn_arith ()
3768  {
3769    as_val=`expr "$@" || test $? -eq 1`
3770  }
3771fi # as_fn_arith
3772
3773
3774if expr a : '\(a\)' >/dev/null 2>&1 &&
3775   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3776  as_expr=expr
3777else
3778  as_expr=false
3779fi
3780
3781if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3782  as_basename=basename
3783else
3784  as_basename=false
3785fi
3786
3787if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3788  as_dirname=dirname
3789else
3790  as_dirname=false
3791fi
3792
3793as_me=`$as_basename -- "$0" ||
3794$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3795	 X"$0" : 'X\(//\)$' \| \
3796	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3797$as_echo X/"$0" |
3798    sed '/^.*\/\([^/][^/]*\)\/*$/{
3799	    s//\1/
3800	    q
3801	  }
3802	  /^X\/\(\/\/\)$/{
3803	    s//\1/
3804	    q
3805	  }
3806	  /^X\/\(\/\).*/{
3807	    s//\1/
3808	    q
3809	  }
3810	  s/.*/./; q'`
3811
3812# Avoid depending upon Character Ranges.
3813as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3814as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3815as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3816as_cr_digits='0123456789'
3817as_cr_alnum=$as_cr_Letters$as_cr_digits
3818
3819ECHO_C= ECHO_N= ECHO_T=
3820case `echo -n x` in #(((((
3821-n*)
3822  case `echo 'xy\c'` in
3823  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3824  xy)  ECHO_C='\c';;
3825  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3826       ECHO_T='	';;
3827  esac;;
3828*)
3829  ECHO_N='-n';;
3830esac
3831
3832rm -f conf$$ conf$$.exe conf$$.file
3833if test -d conf$$.dir; then
3834  rm -f conf$$.dir/conf$$.file
3835else
3836  rm -f conf$$.dir
3837  mkdir conf$$.dir 2>/dev/null
3838fi
3839if (echo >conf$$.file) 2>/dev/null; then
3840  if ln -s conf$$.file conf$$ 2>/dev/null; then
3841    as_ln_s='ln -s'
3842    # ... but there are two gotchas:
3843    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3844    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3845    # In both cases, we have to default to `cp -pR'.
3846    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3847      as_ln_s='cp -pR'
3848  elif ln conf$$.file conf$$ 2>/dev/null; then
3849    as_ln_s=ln
3850  else
3851    as_ln_s='cp -pR'
3852  fi
3853else
3854  as_ln_s='cp -pR'
3855fi
3856rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3857rmdir conf$$.dir 2>/dev/null
3858
3859
3860# as_fn_mkdir_p
3861# -------------
3862# Create "$as_dir" as a directory, including parents if necessary.
3863as_fn_mkdir_p ()
3864{
3865
3866  case $as_dir in #(
3867  -*) as_dir=./$as_dir;;
3868  esac
3869  test -d "$as_dir" || eval $as_mkdir_p || {
3870    as_dirs=
3871    while :; do
3872      case $as_dir in #(
3873      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3874      *) as_qdir=$as_dir;;
3875      esac
3876      as_dirs="'$as_qdir' $as_dirs"
3877      as_dir=`$as_dirname -- "$as_dir" ||
3878$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3879	 X"$as_dir" : 'X\(//\)[^/]' \| \
3880	 X"$as_dir" : 'X\(//\)$' \| \
3881	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3882$as_echo X"$as_dir" |
3883    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3884	    s//\1/
3885	    q
3886	  }
3887	  /^X\(\/\/\)[^/].*/{
3888	    s//\1/
3889	    q
3890	  }
3891	  /^X\(\/\/\)$/{
3892	    s//\1/
3893	    q
3894	  }
3895	  /^X\(\/\).*/{
3896	    s//\1/
3897	    q
3898	  }
3899	  s/.*/./; q'`
3900      test -d "$as_dir" && break
3901    done
3902    test -z "$as_dirs" || eval "mkdir $as_dirs"
3903  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3904
3905
3906} # as_fn_mkdir_p
3907if mkdir -p . 2>/dev/null; then
3908  as_mkdir_p='mkdir -p "$as_dir"'
3909else
3910  test -d ./-p && rmdir ./-p
3911  as_mkdir_p=false
3912fi
3913
3914
3915# as_fn_executable_p FILE
3916# -----------------------
3917# Test if FILE is an executable regular file.
3918as_fn_executable_p ()
3919{
3920  test -f "$1" && test -x "$1"
3921} # as_fn_executable_p
3922as_test_x='test -x'
3923as_executable_p=as_fn_executable_p
3924
3925# Sed expression to map a string onto a valid CPP name.
3926as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3927
3928# Sed expression to map a string onto a valid variable name.
3929as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3930
3931
3932exec 6>&1
3933## ----------------------------------- ##
3934## Main body of $CONFIG_STATUS script. ##
3935## ----------------------------------- ##
3936_ASEOF
3937test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3938
3939cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3940# Save the log message, to keep $0 and so on meaningful, and to
3941# report actual input values of CONFIG_FILES etc. instead of their
3942# values after options handling.
3943ac_log="
3944This file was extended by $as_me, which was
3945generated by GNU Autoconf 2.69.  Invocation command line was
3946
3947  CONFIG_FILES    = $CONFIG_FILES
3948  CONFIG_HEADERS  = $CONFIG_HEADERS
3949  CONFIG_LINKS    = $CONFIG_LINKS
3950  CONFIG_COMMANDS = $CONFIG_COMMANDS
3951  $ $0 $@
3952
3953on `(hostname || uname -n) 2>/dev/null | sed 1q`
3954"
3955
3956_ACEOF
3957
3958
3959case $ac_config_headers in *"
3960"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3961esac
3962
3963
3964cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3965# Files that config.status was made for.
3966config_headers="$ac_config_headers"
3967
3968_ACEOF
3969
3970cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3971ac_cs_usage="\
3972\`$as_me' instantiates files and other configuration actions
3973from templates according to the current configuration.  Unless the files
3974and actions are specified as TAGs, all are instantiated by default.
3975
3976Usage: $0 [OPTION]... [TAG]...
3977
3978  -h, --help       print this help, then exit
3979  -V, --version    print version number and configuration settings, then exit
3980      --config     print configuration, then exit
3981  -q, --quiet, --silent
3982                   do not print progress messages
3983  -d, --debug      don't remove temporary files
3984      --recheck    update $as_me by reconfiguring in the same conditions
3985      --header=FILE[:TEMPLATE]
3986                   instantiate the configuration header FILE
3987
3988Configuration headers:
3989$config_headers
3990
3991Report bugs to the package provider."
3992
3993_ACEOF
3994cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3995ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3996ac_cs_version="\\
3997config.status
3998configured by $0, generated by GNU Autoconf 2.69,
3999  with options \\"\$ac_cs_config\\"
4000
4001Copyright (C) 2012 Free Software Foundation, Inc.
4002This config.status script is free software; the Free Software Foundation
4003gives unlimited permission to copy, distribute and modify it."
4004
4005ac_pwd='$ac_pwd'
4006srcdir='$srcdir'
4007test -n "\$AWK" || AWK=awk
4008_ACEOF
4009
4010cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4011# The default lists apply if the user does not specify any file.
4012ac_need_defaults=:
4013while test $# != 0
4014do
4015  case $1 in
4016  --*=?*)
4017    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4018    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4019    ac_shift=:
4020    ;;
4021  --*=)
4022    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4023    ac_optarg=
4024    ac_shift=:
4025    ;;
4026  *)
4027    ac_option=$1
4028    ac_optarg=$2
4029    ac_shift=shift
4030    ;;
4031  esac
4032
4033  case $ac_option in
4034  # Handling of the options.
4035  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4036    ac_cs_recheck=: ;;
4037  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4038    $as_echo "$ac_cs_version"; exit ;;
4039  --config | --confi | --conf | --con | --co | --c )
4040    $as_echo "$ac_cs_config"; exit ;;
4041  --debug | --debu | --deb | --de | --d | -d )
4042    debug=: ;;
4043  --header | --heade | --head | --hea )
4044    $ac_shift
4045    case $ac_optarg in
4046    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4047    esac
4048    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4049    ac_need_defaults=false;;
4050  --he | --h)
4051    # Conflict between --help and --header
4052    as_fn_error $? "ambiguous option: \`$1'
4053Try \`$0 --help' for more information.";;
4054  --help | --hel | -h )
4055    $as_echo "$ac_cs_usage"; exit ;;
4056  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4057  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4058    ac_cs_silent=: ;;
4059
4060  # This is an error.
4061  -*) as_fn_error $? "unrecognized option: \`$1'
4062Try \`$0 --help' for more information." ;;
4063
4064  *) as_fn_append ac_config_targets " $1"
4065     ac_need_defaults=false ;;
4066
4067  esac
4068  shift
4069done
4070
4071ac_configure_extra_args=
4072
4073if $ac_cs_silent; then
4074  exec 6>/dev/null
4075  ac_configure_extra_args="$ac_configure_extra_args --silent"
4076fi
4077
4078_ACEOF
4079cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4080if \$ac_cs_recheck; then
4081  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4082  shift
4083  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4084  CONFIG_SHELL='$SHELL'
4085  export CONFIG_SHELL
4086  exec "\$@"
4087fi
4088
4089_ACEOF
4090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4091exec 5>>config.log
4092{
4093  echo
4094  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4095## Running $as_me. ##
4096_ASBOX
4097  $as_echo "$ac_log"
4098} >&5
4099
4100_ACEOF
4101cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4102_ACEOF
4103
4104cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4105
4106# Handling of arguments.
4107for ac_config_target in $ac_config_targets
4108do
4109  case $ac_config_target in
4110    "cbits/config.h") CONFIG_HEADERS="$CONFIG_HEADERS cbits/config.h" ;;
4111
4112  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4113  esac
4114done
4115
4116
4117# If the user did not use the arguments to specify the items to instantiate,
4118# then the envvar interface is used.  Set only those that are not.
4119# We use the long form for the default assignment because of an extremely
4120# bizarre bug on SunOS 4.1.3.
4121if $ac_need_defaults; then
4122  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4123fi
4124
4125# Have a temporary directory for convenience.  Make it in the build tree
4126# simply because there is no reason against having it here, and in addition,
4127# creating and moving files from /tmp can sometimes cause problems.
4128# Hook for its removal unless debugging.
4129# Note that there is a small window in which the directory will not be cleaned:
4130# after its creation but before its name has been assigned to `$tmp'.
4131$debug ||
4132{
4133  tmp= ac_tmp=
4134  trap 'exit_status=$?
4135  : "${ac_tmp:=$tmp}"
4136  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4137' 0
4138  trap 'as_fn_exit 1' 1 2 13 15
4139}
4140# Create a (secure) tmp directory for tmp files.
4141
4142{
4143  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4144  test -d "$tmp"
4145}  ||
4146{
4147  tmp=./conf$$-$RANDOM
4148  (umask 077 && mkdir "$tmp")
4149} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4150ac_tmp=$tmp
4151
4152# Set up the scripts for CONFIG_HEADERS section.
4153# No need to generate them if there are no CONFIG_HEADERS.
4154# This happens for instance with `./config.status Makefile'.
4155if test -n "$CONFIG_HEADERS"; then
4156cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4157BEGIN {
4158_ACEOF
4159
4160# Transform confdefs.h into an awk script `defines.awk', embedded as
4161# here-document in config.status, that substitutes the proper values into
4162# config.h.in to produce config.h.
4163
4164# Create a delimiter string that does not exist in confdefs.h, to ease
4165# handling of long lines.
4166ac_delim='%!_!# '
4167for ac_last_try in false false :; do
4168  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4169  if test -z "$ac_tt"; then
4170    break
4171  elif $ac_last_try; then
4172    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4173  else
4174    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4175  fi
4176done
4177
4178# For the awk script, D is an array of macro values keyed by name,
4179# likewise P contains macro parameters if any.  Preserve backslash
4180# newline sequences.
4181
4182ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4183sed -n '
4184s/.\{148\}/&'"$ac_delim"'/g
4185t rset
4186:rset
4187s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
4188t def
4189d
4190:def
4191s/\\$//
4192t bsnl
4193s/["\\]/\\&/g
4194s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4195D["\1"]=" \3"/p
4196s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
4197d
4198:bsnl
4199s/["\\]/\\&/g
4200s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4201D["\1"]=" \3\\\\\\n"\\/p
4202t cont
4203s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4204t cont
4205d
4206:cont
4207n
4208s/.\{148\}/&'"$ac_delim"'/g
4209t clear
4210:clear
4211s/\\$//
4212t bsnlc
4213s/["\\]/\\&/g; s/^/"/; s/$/"/p
4214d
4215:bsnlc
4216s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4217b cont
4218' <confdefs.h | sed '
4219s/'"$ac_delim"'/"\\\
4220"/g' >>$CONFIG_STATUS || ac_write_fail=1
4221
4222cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4223  for (key in D) D_is_set[key] = 1
4224  FS = ""
4225}
4226/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4227  line = \$ 0
4228  split(line, arg, " ")
4229  if (arg[1] == "#") {
4230    defundef = arg[2]
4231    mac1 = arg[3]
4232  } else {
4233    defundef = substr(arg[1], 2)
4234    mac1 = arg[2]
4235  }
4236  split(mac1, mac2, "(") #)
4237  macro = mac2[1]
4238  prefix = substr(line, 1, index(line, defundef) - 1)
4239  if (D_is_set[macro]) {
4240    # Preserve the white space surrounding the "#".
4241    print prefix "define", macro P[macro] D[macro]
4242    next
4243  } else {
4244    # Replace #undef with comments.  This is necessary, for example,
4245    # in the case of _POSIX_SOURCE, which is predefined and required
4246    # on some systems where configure will not decide to define it.
4247    if (defundef == "undef") {
4248      print "/*", prefix defundef, macro, "*/"
4249      next
4250    }
4251  }
4252}
4253{ print }
4254_ACAWK
4255_ACEOF
4256cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4257  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4258fi # test -n "$CONFIG_HEADERS"
4259
4260
4261eval set X "    :H $CONFIG_HEADERS    "
4262shift
4263for ac_tag
4264do
4265  case $ac_tag in
4266  :[FHLC]) ac_mode=$ac_tag; continue;;
4267  esac
4268  case $ac_mode$ac_tag in
4269  :[FHL]*:*);;
4270  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4271  :[FH]-) ac_tag=-:-;;
4272  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4273  esac
4274  ac_save_IFS=$IFS
4275  IFS=:
4276  set x $ac_tag
4277  IFS=$ac_save_IFS
4278  shift
4279  ac_file=$1
4280  shift
4281
4282  case $ac_mode in
4283  :L) ac_source=$1;;
4284  :[FH])
4285    ac_file_inputs=
4286    for ac_f
4287    do
4288      case $ac_f in
4289      -) ac_f="$ac_tmp/stdin";;
4290      *) # Look for the file first in the build tree, then in the source tree
4291	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4292	 # because $ac_f cannot contain `:'.
4293	 test -f "$ac_f" ||
4294	   case $ac_f in
4295	   [\\/$]*) false;;
4296	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4297	   esac ||
4298	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4299      esac
4300      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4301      as_fn_append ac_file_inputs " '$ac_f'"
4302    done
4303
4304    # Let's still pretend it is `configure' which instantiates (i.e., don't
4305    # use $as_me), people would be surprised to read:
4306    #    /* config.h.  Generated by config.status.  */
4307    configure_input='Generated from '`
4308	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4309	`' by configure.'
4310    if test x"$ac_file" != x-; then
4311      configure_input="$ac_file.  $configure_input"
4312      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4313$as_echo "$as_me: creating $ac_file" >&6;}
4314    fi
4315    # Neutralize special characters interpreted by sed in replacement strings.
4316    case $configure_input in #(
4317    *\&* | *\|* | *\\* )
4318       ac_sed_conf_input=`$as_echo "$configure_input" |
4319       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4320    *) ac_sed_conf_input=$configure_input;;
4321    esac
4322
4323    case $ac_tag in
4324    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4325      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4326    esac
4327    ;;
4328  esac
4329
4330  ac_dir=`$as_dirname -- "$ac_file" ||
4331$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4332	 X"$ac_file" : 'X\(//\)[^/]' \| \
4333	 X"$ac_file" : 'X\(//\)$' \| \
4334	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4335$as_echo X"$ac_file" |
4336    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4337	    s//\1/
4338	    q
4339	  }
4340	  /^X\(\/\/\)[^/].*/{
4341	    s//\1/
4342	    q
4343	  }
4344	  /^X\(\/\/\)$/{
4345	    s//\1/
4346	    q
4347	  }
4348	  /^X\(\/\).*/{
4349	    s//\1/
4350	    q
4351	  }
4352	  s/.*/./; q'`
4353  as_dir="$ac_dir"; as_fn_mkdir_p
4354  ac_builddir=.
4355
4356case "$ac_dir" in
4357.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4358*)
4359  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4360  # A ".." for each directory in $ac_dir_suffix.
4361  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4362  case $ac_top_builddir_sub in
4363  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4364  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4365  esac ;;
4366esac
4367ac_abs_top_builddir=$ac_pwd
4368ac_abs_builddir=$ac_pwd$ac_dir_suffix
4369# for backward compatibility:
4370ac_top_builddir=$ac_top_build_prefix
4371
4372case $srcdir in
4373  .)  # We are building in place.
4374    ac_srcdir=.
4375    ac_top_srcdir=$ac_top_builddir_sub
4376    ac_abs_top_srcdir=$ac_pwd ;;
4377  [\\/]* | ?:[\\/]* )  # Absolute name.
4378    ac_srcdir=$srcdir$ac_dir_suffix;
4379    ac_top_srcdir=$srcdir
4380    ac_abs_top_srcdir=$srcdir ;;
4381  *) # Relative name.
4382    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4383    ac_top_srcdir=$ac_top_build_prefix$srcdir
4384    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4385esac
4386ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4387
4388
4389  case $ac_mode in
4390
4391  :H)
4392  #
4393  # CONFIG_HEADER
4394  #
4395  if test x"$ac_file" != x-; then
4396    {
4397      $as_echo "/* $configure_input  */" \
4398      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4399    } >"$ac_tmp/config.h" \
4400      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4401    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4402      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4403$as_echo "$as_me: $ac_file is unchanged" >&6;}
4404    else
4405      rm -f "$ac_file"
4406      mv "$ac_tmp/config.h" "$ac_file" \
4407	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
4408    fi
4409  else
4410    $as_echo "/* $configure_input  */" \
4411      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4412      || as_fn_error $? "could not create -" "$LINENO" 5
4413  fi
4414 ;;
4415
4416
4417  esac
4418
4419done # for ac_tag
4420
4421
4422as_fn_exit 0
4423_ACEOF
4424ac_clean_files=$ac_clean_files_save
4425
4426test $ac_write_fail = 0 ||
4427  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4428
4429
4430# configure is writing to config.log, and then calls config.status.
4431# config.status does its own redirection, appending to config.log.
4432# Unfortunately, on DOS this fails, as config.log is still kept open
4433# by configure, so config.status won't be able to write to it; its
4434# output is simply discarded.  So we exec the FD to /dev/null,
4435# effectively closing config.log, so it can be properly (re)opened and
4436# appended to by config.status.  When coming back to configure, we
4437# need to make the FD available again.
4438if test "$no_create" != yes; then
4439  ac_cs_success=:
4440  ac_config_status_args=
4441  test "$silent" = yes &&
4442    ac_config_status_args="$ac_config_status_args --quiet"
4443  exec 5>/dev/null
4444  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4445  exec 5>>config.log
4446  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4447  # would make configure fail if this is the last instruction.
4448  $ac_cs_success || as_fn_exit 1
4449fi
4450if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4451  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4452$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4453fi
4454
4455