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