source: git/misc/configure @ 51372b

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