xref: /netbsd-src/external/gpl3/gcc/dist/libcody/configure (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1*b1e83836Smrg#! /bin/sh
2*b1e83836Smrg# Guess values for system-dependent variables and create Makefiles.
3*b1e83836Smrg# Generated by GNU Autoconf 2.69 for codylib 0.0.
4*b1e83836Smrg#
5*b1e83836Smrg# Report bugs to <github.com/urnathan/libcody>.
6*b1e83836Smrg#
7*b1e83836Smrg#
8*b1e83836Smrg# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9*b1e83836Smrg#
10*b1e83836Smrg#
11*b1e83836Smrg# This configure script is free software; the Free Software Foundation
12*b1e83836Smrg# gives unlimited permission to copy, distribute and modify it.
13*b1e83836Smrg## -------------------- ##
14*b1e83836Smrg## M4sh Initialization. ##
15*b1e83836Smrg## -------------------- ##
16*b1e83836Smrg
17*b1e83836Smrg# Be more Bourne compatible
18*b1e83836SmrgDUALCASE=1; export DUALCASE # for MKS sh
19*b1e83836Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20*b1e83836Smrg  emulate sh
21*b1e83836Smrg  NULLCMD=:
22*b1e83836Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23*b1e83836Smrg  # is contrary to our usage.  Disable this feature.
24*b1e83836Smrg  alias -g '${1+"$@"}'='"$@"'
25*b1e83836Smrg  setopt NO_GLOB_SUBST
26*b1e83836Smrgelse
27*b1e83836Smrg  case `(set -o) 2>/dev/null` in #(
28*b1e83836Smrg  *posix*) :
29*b1e83836Smrg    set -o posix ;; #(
30*b1e83836Smrg  *) :
31*b1e83836Smrg     ;;
32*b1e83836Smrgesac
33*b1e83836Smrgfi
34*b1e83836Smrg
35*b1e83836Smrg
36*b1e83836Smrgas_nl='
37*b1e83836Smrg'
38*b1e83836Smrgexport as_nl
39*b1e83836Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
40*b1e83836Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41*b1e83836Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42*b1e83836Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43*b1e83836Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
44*b1e83836Smrg# but without wasting forks for bash or zsh.
45*b1e83836Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
46*b1e83836Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47*b1e83836Smrg  as_echo='print -r --'
48*b1e83836Smrg  as_echo_n='print -rn --'
49*b1e83836Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50*b1e83836Smrg  as_echo='printf %s\n'
51*b1e83836Smrg  as_echo_n='printf %s'
52*b1e83836Smrgelse
53*b1e83836Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54*b1e83836Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55*b1e83836Smrg    as_echo_n='/usr/ucb/echo -n'
56*b1e83836Smrg  else
57*b1e83836Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58*b1e83836Smrg    as_echo_n_body='eval
59*b1e83836Smrg      arg=$1;
60*b1e83836Smrg      case $arg in #(
61*b1e83836Smrg      *"$as_nl"*)
62*b1e83836Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
63*b1e83836Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64*b1e83836Smrg      esac;
65*b1e83836Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66*b1e83836Smrg    '
67*b1e83836Smrg    export as_echo_n_body
68*b1e83836Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
69*b1e83836Smrg  fi
70*b1e83836Smrg  export as_echo_body
71*b1e83836Smrg  as_echo='sh -c $as_echo_body as_echo'
72*b1e83836Smrgfi
73*b1e83836Smrg
74*b1e83836Smrg# The user is always right.
75*b1e83836Smrgif test "${PATH_SEPARATOR+set}" != set; then
76*b1e83836Smrg  PATH_SEPARATOR=:
77*b1e83836Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78*b1e83836Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79*b1e83836Smrg      PATH_SEPARATOR=';'
80*b1e83836Smrg  }
81*b1e83836Smrgfi
82*b1e83836Smrg
83*b1e83836Smrg
84*b1e83836Smrg# IFS
85*b1e83836Smrg# We need space, tab and new line, in precisely that order.  Quoting is
86*b1e83836Smrg# there to prevent editors from complaining about space-tab.
87*b1e83836Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88*b1e83836Smrg# splitting by setting IFS to empty value.)
89*b1e83836SmrgIFS=" ""	$as_nl"
90*b1e83836Smrg
91*b1e83836Smrg# Find who we are.  Look in the path if we contain no directory separator.
92*b1e83836Smrgas_myself=
93*b1e83836Smrgcase $0 in #((
94*b1e83836Smrg  *[\\/]* ) as_myself=$0 ;;
95*b1e83836Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96*b1e83836Smrgfor as_dir in $PATH
97*b1e83836Smrgdo
98*b1e83836Smrg  IFS=$as_save_IFS
99*b1e83836Smrg  test -z "$as_dir" && as_dir=.
100*b1e83836Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101*b1e83836Smrg  done
102*b1e83836SmrgIFS=$as_save_IFS
103*b1e83836Smrg
104*b1e83836Smrg     ;;
105*b1e83836Smrgesac
106*b1e83836Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
107*b1e83836Smrg# in which case we are not to be found in the path.
108*b1e83836Smrgif test "x$as_myself" = x; then
109*b1e83836Smrg  as_myself=$0
110*b1e83836Smrgfi
111*b1e83836Smrgif test ! -f "$as_myself"; then
112*b1e83836Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113*b1e83836Smrg  exit 1
114*b1e83836Smrgfi
115*b1e83836Smrg
116*b1e83836Smrg# Unset variables that we do not need and which cause bugs (e.g. in
117*b1e83836Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118*b1e83836Smrg# suppresses any "Segmentation fault" message there.  '((' could
119*b1e83836Smrg# trigger a bug in pdksh 5.2.14.
120*b1e83836Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
121*b1e83836Smrgdo eval test x\${$as_var+set} = xset \
122*b1e83836Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123*b1e83836Smrgdone
124*b1e83836SmrgPS1='$ '
125*b1e83836SmrgPS2='> '
126*b1e83836SmrgPS4='+ '
127*b1e83836Smrg
128*b1e83836Smrg# NLS nuisances.
129*b1e83836SmrgLC_ALL=C
130*b1e83836Smrgexport LC_ALL
131*b1e83836SmrgLANGUAGE=C
132*b1e83836Smrgexport LANGUAGE
133*b1e83836Smrg
134*b1e83836Smrg# CDPATH.
135*b1e83836Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136*b1e83836Smrg
137*b1e83836Smrg# Use a proper internal environment variable to ensure we don't fall
138*b1e83836Smrg  # into an infinite loop, continuously re-executing ourselves.
139*b1e83836Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140*b1e83836Smrg    _as_can_reexec=no; export _as_can_reexec;
141*b1e83836Smrg    # We cannot yet assume a decent shell, so we have to provide a
142*b1e83836Smrg# neutralization value for shells without unset; and this also
143*b1e83836Smrg# works around shells that cannot unset nonexistent variables.
144*b1e83836Smrg# Preserve -v and -x to the replacement shell.
145*b1e83836SmrgBASH_ENV=/dev/null
146*b1e83836SmrgENV=/dev/null
147*b1e83836Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148*b1e83836Smrgcase $- in # ((((
149*b1e83836Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
150*b1e83836Smrg  *v* ) as_opts=-v ;;
151*b1e83836Smrg  *x* ) as_opts=-x ;;
152*b1e83836Smrg  * ) as_opts= ;;
153*b1e83836Smrgesac
154*b1e83836Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155*b1e83836Smrg# Admittedly, this is quite paranoid, since all the known shells bail
156*b1e83836Smrg# out after a failed `exec'.
157*b1e83836Smrg$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158*b1e83836Smrgas_fn_exit 255
159*b1e83836Smrg  fi
160*b1e83836Smrg  # We don't want this to propagate to other subprocesses.
161*b1e83836Smrg          { _as_can_reexec=; unset _as_can_reexec;}
162*b1e83836Smrgif test "x$CONFIG_SHELL" = x; then
163*b1e83836Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164*b1e83836Smrg  emulate sh
165*b1e83836Smrg  NULLCMD=:
166*b1e83836Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167*b1e83836Smrg  # is contrary to our usage.  Disable this feature.
168*b1e83836Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169*b1e83836Smrg  setopt NO_GLOB_SUBST
170*b1e83836Smrgelse
171*b1e83836Smrg  case \`(set -o) 2>/dev/null\` in #(
172*b1e83836Smrg  *posix*) :
173*b1e83836Smrg    set -o posix ;; #(
174*b1e83836Smrg  *) :
175*b1e83836Smrg     ;;
176*b1e83836Smrgesac
177*b1e83836Smrgfi
178*b1e83836Smrg"
179*b1e83836Smrg  as_required="as_fn_return () { (exit \$1); }
180*b1e83836Smrgas_fn_success () { as_fn_return 0; }
181*b1e83836Smrgas_fn_failure () { as_fn_return 1; }
182*b1e83836Smrgas_fn_ret_success () { return 0; }
183*b1e83836Smrgas_fn_ret_failure () { return 1; }
184*b1e83836Smrg
185*b1e83836Smrgexitcode=0
186*b1e83836Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
187*b1e83836Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188*b1e83836Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189*b1e83836Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190*b1e83836Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191*b1e83836Smrg
192*b1e83836Smrgelse
193*b1e83836Smrg  exitcode=1; echo positional parameters were not saved.
194*b1e83836Smrgfi
195*b1e83836Smrgtest x\$exitcode = x0 || exit 1
196*b1e83836Smrgtest -x / || exit 1"
197*b1e83836Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198*b1e83836Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199*b1e83836Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200*b1e83836Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201*b1e83836Smrg  if (eval "$as_required") 2>/dev/null; then :
202*b1e83836Smrg  as_have_required=yes
203*b1e83836Smrgelse
204*b1e83836Smrg  as_have_required=no
205*b1e83836Smrgfi
206*b1e83836Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207*b1e83836Smrg
208*b1e83836Smrgelse
209*b1e83836Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210*b1e83836Smrgas_found=false
211*b1e83836Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212*b1e83836Smrgdo
213*b1e83836Smrg  IFS=$as_save_IFS
214*b1e83836Smrg  test -z "$as_dir" && as_dir=.
215*b1e83836Smrg  as_found=:
216*b1e83836Smrg  case $as_dir in #(
217*b1e83836Smrg	 /*)
218*b1e83836Smrg	   for as_base in sh bash ksh sh5; do
219*b1e83836Smrg	     # Try only shells that exist, to save several forks.
220*b1e83836Smrg	     as_shell=$as_dir/$as_base
221*b1e83836Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222*b1e83836Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223*b1e83836Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
224*b1e83836Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225*b1e83836Smrg  break 2
226*b1e83836Smrgfi
227*b1e83836Smrgfi
228*b1e83836Smrg	   done;;
229*b1e83836Smrg       esac
230*b1e83836Smrg  as_found=false
231*b1e83836Smrgdone
232*b1e83836Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233*b1e83836Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234*b1e83836Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
235*b1e83836Smrgfi; }
236*b1e83836SmrgIFS=$as_save_IFS
237*b1e83836Smrg
238*b1e83836Smrg
239*b1e83836Smrg      if test "x$CONFIG_SHELL" != x; then :
240*b1e83836Smrg  export CONFIG_SHELL
241*b1e83836Smrg             # We cannot yet assume a decent shell, so we have to provide a
242*b1e83836Smrg# neutralization value for shells without unset; and this also
243*b1e83836Smrg# works around shells that cannot unset nonexistent variables.
244*b1e83836Smrg# Preserve -v and -x to the replacement shell.
245*b1e83836SmrgBASH_ENV=/dev/null
246*b1e83836SmrgENV=/dev/null
247*b1e83836Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248*b1e83836Smrgcase $- in # ((((
249*b1e83836Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
250*b1e83836Smrg  *v* ) as_opts=-v ;;
251*b1e83836Smrg  *x* ) as_opts=-x ;;
252*b1e83836Smrg  * ) as_opts= ;;
253*b1e83836Smrgesac
254*b1e83836Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255*b1e83836Smrg# Admittedly, this is quite paranoid, since all the known shells bail
256*b1e83836Smrg# out after a failed `exec'.
257*b1e83836Smrg$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258*b1e83836Smrgexit 255
259*b1e83836Smrgfi
260*b1e83836Smrg
261*b1e83836Smrg    if test x$as_have_required = xno; then :
262*b1e83836Smrg  $as_echo "$0: This script requires a shell more modern than all"
263*b1e83836Smrg  $as_echo "$0: the shells that I found on your system."
264*b1e83836Smrg  if test x${ZSH_VERSION+set} = xset ; then
265*b1e83836Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266*b1e83836Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267*b1e83836Smrg  else
268*b1e83836Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
269*b1e83836Smrg$0: github.com/urnathan/libcody about your system,
270*b1e83836Smrg$0: including any error possibly output before this
271*b1e83836Smrg$0: message. Then install a modern shell, or manually run
272*b1e83836Smrg$0: the script under such a shell if you do have one."
273*b1e83836Smrg  fi
274*b1e83836Smrg  exit 1
275*b1e83836Smrgfi
276*b1e83836Smrgfi
277*b1e83836Smrgfi
278*b1e83836SmrgSHELL=${CONFIG_SHELL-/bin/sh}
279*b1e83836Smrgexport SHELL
280*b1e83836Smrg# Unset more variables known to interfere with behavior of common tools.
281*b1e83836SmrgCLICOLOR_FORCE= GREP_OPTIONS=
282*b1e83836Smrgunset CLICOLOR_FORCE GREP_OPTIONS
283*b1e83836Smrg
284*b1e83836Smrg## --------------------- ##
285*b1e83836Smrg## M4sh Shell Functions. ##
286*b1e83836Smrg## --------------------- ##
287*b1e83836Smrg# as_fn_unset VAR
288*b1e83836Smrg# ---------------
289*b1e83836Smrg# Portably unset VAR.
290*b1e83836Smrgas_fn_unset ()
291*b1e83836Smrg{
292*b1e83836Smrg  { eval $1=; unset $1;}
293*b1e83836Smrg}
294*b1e83836Smrgas_unset=as_fn_unset
295*b1e83836Smrg
296*b1e83836Smrg# as_fn_set_status STATUS
297*b1e83836Smrg# -----------------------
298*b1e83836Smrg# Set $? to STATUS, without forking.
299*b1e83836Smrgas_fn_set_status ()
300*b1e83836Smrg{
301*b1e83836Smrg  return $1
302*b1e83836Smrg} # as_fn_set_status
303*b1e83836Smrg
304*b1e83836Smrg# as_fn_exit STATUS
305*b1e83836Smrg# -----------------
306*b1e83836Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307*b1e83836Smrgas_fn_exit ()
308*b1e83836Smrg{
309*b1e83836Smrg  set +e
310*b1e83836Smrg  as_fn_set_status $1
311*b1e83836Smrg  exit $1
312*b1e83836Smrg} # as_fn_exit
313*b1e83836Smrg
314*b1e83836Smrg# as_fn_mkdir_p
315*b1e83836Smrg# -------------
316*b1e83836Smrg# Create "$as_dir" as a directory, including parents if necessary.
317*b1e83836Smrgas_fn_mkdir_p ()
318*b1e83836Smrg{
319*b1e83836Smrg
320*b1e83836Smrg  case $as_dir in #(
321*b1e83836Smrg  -*) as_dir=./$as_dir;;
322*b1e83836Smrg  esac
323*b1e83836Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
324*b1e83836Smrg    as_dirs=
325*b1e83836Smrg    while :; do
326*b1e83836Smrg      case $as_dir in #(
327*b1e83836Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328*b1e83836Smrg      *) as_qdir=$as_dir;;
329*b1e83836Smrg      esac
330*b1e83836Smrg      as_dirs="'$as_qdir' $as_dirs"
331*b1e83836Smrg      as_dir=`$as_dirname -- "$as_dir" ||
332*b1e83836Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333*b1e83836Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
334*b1e83836Smrg	 X"$as_dir" : 'X\(//\)$' \| \
335*b1e83836Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336*b1e83836Smrg$as_echo X"$as_dir" |
337*b1e83836Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338*b1e83836Smrg	    s//\1/
339*b1e83836Smrg	    q
340*b1e83836Smrg	  }
341*b1e83836Smrg	  /^X\(\/\/\)[^/].*/{
342*b1e83836Smrg	    s//\1/
343*b1e83836Smrg	    q
344*b1e83836Smrg	  }
345*b1e83836Smrg	  /^X\(\/\/\)$/{
346*b1e83836Smrg	    s//\1/
347*b1e83836Smrg	    q
348*b1e83836Smrg	  }
349*b1e83836Smrg	  /^X\(\/\).*/{
350*b1e83836Smrg	    s//\1/
351*b1e83836Smrg	    q
352*b1e83836Smrg	  }
353*b1e83836Smrg	  s/.*/./; q'`
354*b1e83836Smrg      test -d "$as_dir" && break
355*b1e83836Smrg    done
356*b1e83836Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
357*b1e83836Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358*b1e83836Smrg
359*b1e83836Smrg
360*b1e83836Smrg} # as_fn_mkdir_p
361*b1e83836Smrg
362*b1e83836Smrg# as_fn_executable_p FILE
363*b1e83836Smrg# -----------------------
364*b1e83836Smrg# Test if FILE is an executable regular file.
365*b1e83836Smrgas_fn_executable_p ()
366*b1e83836Smrg{
367*b1e83836Smrg  test -f "$1" && test -x "$1"
368*b1e83836Smrg} # as_fn_executable_p
369*b1e83836Smrg# as_fn_append VAR VALUE
370*b1e83836Smrg# ----------------------
371*b1e83836Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
372*b1e83836Smrg# advantage of any shell optimizations that allow amortized linear growth over
373*b1e83836Smrg# repeated appends, instead of the typical quadratic growth present in naive
374*b1e83836Smrg# implementations.
375*b1e83836Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376*b1e83836Smrg  eval 'as_fn_append ()
377*b1e83836Smrg  {
378*b1e83836Smrg    eval $1+=\$2
379*b1e83836Smrg  }'
380*b1e83836Smrgelse
381*b1e83836Smrg  as_fn_append ()
382*b1e83836Smrg  {
383*b1e83836Smrg    eval $1=\$$1\$2
384*b1e83836Smrg  }
385*b1e83836Smrgfi # as_fn_append
386*b1e83836Smrg
387*b1e83836Smrg# as_fn_arith ARG...
388*b1e83836Smrg# ------------------
389*b1e83836Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
390*b1e83836Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
391*b1e83836Smrg# must be portable across $(()) and expr.
392*b1e83836Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393*b1e83836Smrg  eval 'as_fn_arith ()
394*b1e83836Smrg  {
395*b1e83836Smrg    as_val=$(( $* ))
396*b1e83836Smrg  }'
397*b1e83836Smrgelse
398*b1e83836Smrg  as_fn_arith ()
399*b1e83836Smrg  {
400*b1e83836Smrg    as_val=`expr "$@" || test $? -eq 1`
401*b1e83836Smrg  }
402*b1e83836Smrgfi # as_fn_arith
403*b1e83836Smrg
404*b1e83836Smrg
405*b1e83836Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
406*b1e83836Smrg# ----------------------------------------
407*b1e83836Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408*b1e83836Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409*b1e83836Smrg# script with STATUS, using 1 if that was 0.
410*b1e83836Smrgas_fn_error ()
411*b1e83836Smrg{
412*b1e83836Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
413*b1e83836Smrg  if test "$4"; then
414*b1e83836Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416*b1e83836Smrg  fi
417*b1e83836Smrg  $as_echo "$as_me: error: $2" >&2
418*b1e83836Smrg  as_fn_exit $as_status
419*b1e83836Smrg} # as_fn_error
420*b1e83836Smrg
421*b1e83836Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
422*b1e83836Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
423*b1e83836Smrg  as_expr=expr
424*b1e83836Smrgelse
425*b1e83836Smrg  as_expr=false
426*b1e83836Smrgfi
427*b1e83836Smrg
428*b1e83836Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429*b1e83836Smrg  as_basename=basename
430*b1e83836Smrgelse
431*b1e83836Smrg  as_basename=false
432*b1e83836Smrgfi
433*b1e83836Smrg
434*b1e83836Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435*b1e83836Smrg  as_dirname=dirname
436*b1e83836Smrgelse
437*b1e83836Smrg  as_dirname=false
438*b1e83836Smrgfi
439*b1e83836Smrg
440*b1e83836Smrgas_me=`$as_basename -- "$0" ||
441*b1e83836Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442*b1e83836Smrg	 X"$0" : 'X\(//\)$' \| \
443*b1e83836Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444*b1e83836Smrg$as_echo X/"$0" |
445*b1e83836Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
446*b1e83836Smrg	    s//\1/
447*b1e83836Smrg	    q
448*b1e83836Smrg	  }
449*b1e83836Smrg	  /^X\/\(\/\/\)$/{
450*b1e83836Smrg	    s//\1/
451*b1e83836Smrg	    q
452*b1e83836Smrg	  }
453*b1e83836Smrg	  /^X\/\(\/\).*/{
454*b1e83836Smrg	    s//\1/
455*b1e83836Smrg	    q
456*b1e83836Smrg	  }
457*b1e83836Smrg	  s/.*/./; q'`
458*b1e83836Smrg
459*b1e83836Smrg# Avoid depending upon Character Ranges.
460*b1e83836Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
461*b1e83836Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462*b1e83836Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
463*b1e83836Smrgas_cr_digits='0123456789'
464*b1e83836Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
465*b1e83836Smrg
466*b1e83836Smrg
467*b1e83836Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
468*b1e83836Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
469*b1e83836Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470*b1e83836Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471*b1e83836Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
472*b1e83836Smrg  sed -n '
473*b1e83836Smrg    p
474*b1e83836Smrg    /[$]LINENO/=
475*b1e83836Smrg  ' <$as_myself |
476*b1e83836Smrg    sed '
477*b1e83836Smrg      s/[$]LINENO.*/&-/
478*b1e83836Smrg      t lineno
479*b1e83836Smrg      b
480*b1e83836Smrg      :lineno
481*b1e83836Smrg      N
482*b1e83836Smrg      :loop
483*b1e83836Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484*b1e83836Smrg      t loop
485*b1e83836Smrg      s/-\n.*//
486*b1e83836Smrg    ' >$as_me.lineno &&
487*b1e83836Smrg  chmod +x "$as_me.lineno" ||
488*b1e83836Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489*b1e83836Smrg
490*b1e83836Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491*b1e83836Smrg  # already done that, so ensure we don't try to do so again and fall
492*b1e83836Smrg  # in an infinite loop.  This has already happened in practice.
493*b1e83836Smrg  _as_can_reexec=no; export _as_can_reexec
494*b1e83836Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
495*b1e83836Smrg  # (the dirname of $[0] is not the place where we might find the
496*b1e83836Smrg  # original and so on.  Autoconf is especially sensitive to this).
497*b1e83836Smrg  . "./$as_me.lineno"
498*b1e83836Smrg  # Exit status is that of the last command.
499*b1e83836Smrg  exit
500*b1e83836Smrg}
501*b1e83836Smrg
502*b1e83836SmrgECHO_C= ECHO_N= ECHO_T=
503*b1e83836Smrgcase `echo -n x` in #(((((
504*b1e83836Smrg-n*)
505*b1e83836Smrg  case `echo 'xy\c'` in
506*b1e83836Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
507*b1e83836Smrg  xy)  ECHO_C='\c';;
508*b1e83836Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
509*b1e83836Smrg       ECHO_T='	';;
510*b1e83836Smrg  esac;;
511*b1e83836Smrg*)
512*b1e83836Smrg  ECHO_N='-n';;
513*b1e83836Smrgesac
514*b1e83836Smrg
515*b1e83836Smrgrm -f conf$$ conf$$.exe conf$$.file
516*b1e83836Smrgif test -d conf$$.dir; then
517*b1e83836Smrg  rm -f conf$$.dir/conf$$.file
518*b1e83836Smrgelse
519*b1e83836Smrg  rm -f conf$$.dir
520*b1e83836Smrg  mkdir conf$$.dir 2>/dev/null
521*b1e83836Smrgfi
522*b1e83836Smrgif (echo >conf$$.file) 2>/dev/null; then
523*b1e83836Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
524*b1e83836Smrg    as_ln_s='ln -s'
525*b1e83836Smrg    # ... but there are two gotchas:
526*b1e83836Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527*b1e83836Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528*b1e83836Smrg    # In both cases, we have to default to `cp -pR'.
529*b1e83836Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530*b1e83836Smrg      as_ln_s='cp -pR'
531*b1e83836Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
532*b1e83836Smrg    as_ln_s=ln
533*b1e83836Smrg  else
534*b1e83836Smrg    as_ln_s='cp -pR'
535*b1e83836Smrg  fi
536*b1e83836Smrgelse
537*b1e83836Smrg  as_ln_s='cp -pR'
538*b1e83836Smrgfi
539*b1e83836Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540*b1e83836Smrgrmdir conf$$.dir 2>/dev/null
541*b1e83836Smrg
542*b1e83836Smrgif mkdir -p . 2>/dev/null; then
543*b1e83836Smrg  as_mkdir_p='mkdir -p "$as_dir"'
544*b1e83836Smrgelse
545*b1e83836Smrg  test -d ./-p && rmdir ./-p
546*b1e83836Smrg  as_mkdir_p=false
547*b1e83836Smrgfi
548*b1e83836Smrg
549*b1e83836Smrgas_test_x='test -x'
550*b1e83836Smrgas_executable_p=as_fn_executable_p
551*b1e83836Smrg
552*b1e83836Smrg# Sed expression to map a string onto a valid CPP name.
553*b1e83836Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554*b1e83836Smrg
555*b1e83836Smrg# Sed expression to map a string onto a valid variable name.
556*b1e83836Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557*b1e83836Smrg
558*b1e83836Smrg
559*b1e83836Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
560*b1e83836Smrgexec 6>&1
561*b1e83836Smrg
562*b1e83836Smrg# Name of the host.
563*b1e83836Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564*b1e83836Smrg# so uname gets run too.
565*b1e83836Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566*b1e83836Smrg
567*b1e83836Smrg#
568*b1e83836Smrg# Initializations.
569*b1e83836Smrg#
570*b1e83836Smrgac_default_prefix=/usr/local
571*b1e83836Smrgac_clean_files=
572*b1e83836Smrgac_config_libobj_dir=.
573*b1e83836SmrgLIBOBJS=
574*b1e83836Smrgcross_compiling=no
575*b1e83836Smrgsubdirs=
576*b1e83836SmrgMFLAGS=
577*b1e83836SmrgMAKEFLAGS=
578*b1e83836Smrg
579*b1e83836Smrg# Identity of this package.
580*b1e83836SmrgPACKAGE_NAME='codylib'
581*b1e83836SmrgPACKAGE_TARNAME='codylib'
582*b1e83836SmrgPACKAGE_VERSION='0.0'
583*b1e83836SmrgPACKAGE_STRING='codylib 0.0'
584*b1e83836SmrgPACKAGE_BUGREPORT='github.com/urnathan/libcody'
585*b1e83836SmrgPACKAGE_URL=''
586*b1e83836Smrg
587*b1e83836Smrgac_unique_file="cody.hh"
588*b1e83836Smrgac_subst_vars='LTLIBOBJS
589*b1e83836SmrgLIBOBJS
590*b1e83836Smrgconfigure_args
591*b1e83836SmrgAR
592*b1e83836SmrgRANLIB
593*b1e83836SmrgEXCEPTIONS
594*b1e83836SmrgPICFLAG
595*b1e83836SmrgOBJEXT
596*b1e83836SmrgEXEEXT
597*b1e83836Smrgac_ct_CXX
598*b1e83836SmrgCPPFLAGS
599*b1e83836SmrgLDFLAGS
600*b1e83836SmrgCXXFLAGS
601*b1e83836SmrgCXX
602*b1e83836SmrgMAINTAINER
603*b1e83836Smrghost_os
604*b1e83836Smrghost_vendor
605*b1e83836Smrghost_cpu
606*b1e83836Smrghost
607*b1e83836Smrgbuild_os
608*b1e83836Smrgbuild_vendor
609*b1e83836Smrgbuild_cpu
610*b1e83836Smrgbuild
611*b1e83836Smrgtarget_alias
612*b1e83836Smrghost_alias
613*b1e83836Smrgbuild_alias
614*b1e83836SmrgLIBS
615*b1e83836SmrgECHO_T
616*b1e83836SmrgECHO_N
617*b1e83836SmrgECHO_C
618*b1e83836SmrgDEFS
619*b1e83836Smrgmandir
620*b1e83836Smrglocaledir
621*b1e83836Smrglibdir
622*b1e83836Smrgpsdir
623*b1e83836Smrgpdfdir
624*b1e83836Smrgdvidir
625*b1e83836Smrghtmldir
626*b1e83836Smrginfodir
627*b1e83836Smrgdocdir
628*b1e83836Smrgoldincludedir
629*b1e83836Smrgincludedir
630*b1e83836Smrglocalstatedir
631*b1e83836Smrgsharedstatedir
632*b1e83836Smrgsysconfdir
633*b1e83836Smrgdatadir
634*b1e83836Smrgdatarootdir
635*b1e83836Smrglibexecdir
636*b1e83836Smrgsbindir
637*b1e83836Smrgbindir
638*b1e83836Smrgprogram_transform_name
639*b1e83836Smrgprefix
640*b1e83836Smrgexec_prefix
641*b1e83836SmrgPACKAGE_URL
642*b1e83836SmrgPACKAGE_BUGREPORT
643*b1e83836SmrgPACKAGE_STRING
644*b1e83836SmrgPACKAGE_VERSION
645*b1e83836SmrgPACKAGE_TARNAME
646*b1e83836SmrgPACKAGE_NAME
647*b1e83836SmrgPATH_SEPARATOR
648*b1e83836SmrgSHELL'
649*b1e83836Smrgac_subst_files=''
650*b1e83836Smrgac_user_opts='
651*b1e83836Smrgenable_option_checking
652*b1e83836Smrgenable_maintainer_mode
653*b1e83836Smrgwith_compiler
654*b1e83836Smrgenable_checking
655*b1e83836Smrgenable_host_shared
656*b1e83836Smrgenable_exceptions
657*b1e83836Smrg'
658*b1e83836Smrg      ac_precious_vars='build_alias
659*b1e83836Smrghost_alias
660*b1e83836Smrgtarget_alias
661*b1e83836SmrgCXX
662*b1e83836SmrgCXXFLAGS
663*b1e83836SmrgLDFLAGS
664*b1e83836SmrgLIBS
665*b1e83836SmrgCPPFLAGS
666*b1e83836SmrgCCC'
667*b1e83836Smrg
668*b1e83836Smrg
669*b1e83836Smrg# Initialize some variables set by options.
670*b1e83836Smrgac_init_help=
671*b1e83836Smrgac_init_version=false
672*b1e83836Smrgac_unrecognized_opts=
673*b1e83836Smrgac_unrecognized_sep=
674*b1e83836Smrg# The variables have the same names as the options, with
675*b1e83836Smrg# dashes changed to underlines.
676*b1e83836Smrgcache_file=/dev/null
677*b1e83836Smrgexec_prefix=NONE
678*b1e83836Smrgno_create=
679*b1e83836Smrgno_recursion=
680*b1e83836Smrgprefix=NONE
681*b1e83836Smrgprogram_prefix=NONE
682*b1e83836Smrgprogram_suffix=NONE
683*b1e83836Smrgprogram_transform_name=s,x,x,
684*b1e83836Smrgsilent=
685*b1e83836Smrgsite=
686*b1e83836Smrgsrcdir=
687*b1e83836Smrgverbose=
688*b1e83836Smrgx_includes=NONE
689*b1e83836Smrgx_libraries=NONE
690*b1e83836Smrg
691*b1e83836Smrg# Installation directory options.
692*b1e83836Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
693*b1e83836Smrg# and all the variables that are supposed to be based on exec_prefix
694*b1e83836Smrg# by default will actually change.
695*b1e83836Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
696*b1e83836Smrg# (The list follows the same order as the GNU Coding Standards.)
697*b1e83836Smrgbindir='${exec_prefix}/bin'
698*b1e83836Smrgsbindir='${exec_prefix}/sbin'
699*b1e83836Smrglibexecdir='${exec_prefix}/libexec'
700*b1e83836Smrgdatarootdir='${prefix}/share'
701*b1e83836Smrgdatadir='${datarootdir}'
702*b1e83836Smrgsysconfdir='${prefix}/etc'
703*b1e83836Smrgsharedstatedir='${prefix}/com'
704*b1e83836Smrglocalstatedir='${prefix}/var'
705*b1e83836Smrgincludedir='${prefix}/include'
706*b1e83836Smrgoldincludedir='/usr/include'
707*b1e83836Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
708*b1e83836Smrginfodir='${datarootdir}/info'
709*b1e83836Smrghtmldir='${docdir}'
710*b1e83836Smrgdvidir='${docdir}'
711*b1e83836Smrgpdfdir='${docdir}'
712*b1e83836Smrgpsdir='${docdir}'
713*b1e83836Smrglibdir='${exec_prefix}/lib'
714*b1e83836Smrglocaledir='${datarootdir}/locale'
715*b1e83836Smrgmandir='${datarootdir}/man'
716*b1e83836Smrg
717*b1e83836Smrgac_prev=
718*b1e83836Smrgac_dashdash=
719*b1e83836Smrgfor ac_option
720*b1e83836Smrgdo
721*b1e83836Smrg  # If the previous option needs an argument, assign it.
722*b1e83836Smrg  if test -n "$ac_prev"; then
723*b1e83836Smrg    eval $ac_prev=\$ac_option
724*b1e83836Smrg    ac_prev=
725*b1e83836Smrg    continue
726*b1e83836Smrg  fi
727*b1e83836Smrg
728*b1e83836Smrg  case $ac_option in
729*b1e83836Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730*b1e83836Smrg  *=)   ac_optarg= ;;
731*b1e83836Smrg  *)    ac_optarg=yes ;;
732*b1e83836Smrg  esac
733*b1e83836Smrg
734*b1e83836Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
735*b1e83836Smrg
736*b1e83836Smrg  case $ac_dashdash$ac_option in
737*b1e83836Smrg  --)
738*b1e83836Smrg    ac_dashdash=yes ;;
739*b1e83836Smrg
740*b1e83836Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
741*b1e83836Smrg    ac_prev=bindir ;;
742*b1e83836Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
743*b1e83836Smrg    bindir=$ac_optarg ;;
744*b1e83836Smrg
745*b1e83836Smrg  -build | --build | --buil | --bui | --bu)
746*b1e83836Smrg    ac_prev=build_alias ;;
747*b1e83836Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
748*b1e83836Smrg    build_alias=$ac_optarg ;;
749*b1e83836Smrg
750*b1e83836Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
751*b1e83836Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
752*b1e83836Smrg    ac_prev=cache_file ;;
753*b1e83836Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
754*b1e83836Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
755*b1e83836Smrg    cache_file=$ac_optarg ;;
756*b1e83836Smrg
757*b1e83836Smrg  --config-cache | -C)
758*b1e83836Smrg    cache_file=config.cache ;;
759*b1e83836Smrg
760*b1e83836Smrg  -datadir | --datadir | --datadi | --datad)
761*b1e83836Smrg    ac_prev=datadir ;;
762*b1e83836Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
763*b1e83836Smrg    datadir=$ac_optarg ;;
764*b1e83836Smrg
765*b1e83836Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
766*b1e83836Smrg  | --dataroo | --dataro | --datar)
767*b1e83836Smrg    ac_prev=datarootdir ;;
768*b1e83836Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
769*b1e83836Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
770*b1e83836Smrg    datarootdir=$ac_optarg ;;
771*b1e83836Smrg
772*b1e83836Smrg  -disable-* | --disable-*)
773*b1e83836Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
774*b1e83836Smrg    # Reject names that are not valid shell variable names.
775*b1e83836Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
776*b1e83836Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
777*b1e83836Smrg    ac_useropt_orig=$ac_useropt
778*b1e83836Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
779*b1e83836Smrg    case $ac_user_opts in
780*b1e83836Smrg      *"
781*b1e83836Smrg"enable_$ac_useropt"
782*b1e83836Smrg"*) ;;
783*b1e83836Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
784*b1e83836Smrg	 ac_unrecognized_sep=', ';;
785*b1e83836Smrg    esac
786*b1e83836Smrg    eval enable_$ac_useropt=no ;;
787*b1e83836Smrg
788*b1e83836Smrg  -docdir | --docdir | --docdi | --doc | --do)
789*b1e83836Smrg    ac_prev=docdir ;;
790*b1e83836Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
791*b1e83836Smrg    docdir=$ac_optarg ;;
792*b1e83836Smrg
793*b1e83836Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
794*b1e83836Smrg    ac_prev=dvidir ;;
795*b1e83836Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
796*b1e83836Smrg    dvidir=$ac_optarg ;;
797*b1e83836Smrg
798*b1e83836Smrg  -enable-* | --enable-*)
799*b1e83836Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
800*b1e83836Smrg    # Reject names that are not valid shell variable names.
801*b1e83836Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802*b1e83836Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
803*b1e83836Smrg    ac_useropt_orig=$ac_useropt
804*b1e83836Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805*b1e83836Smrg    case $ac_user_opts in
806*b1e83836Smrg      *"
807*b1e83836Smrg"enable_$ac_useropt"
808*b1e83836Smrg"*) ;;
809*b1e83836Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
810*b1e83836Smrg	 ac_unrecognized_sep=', ';;
811*b1e83836Smrg    esac
812*b1e83836Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
813*b1e83836Smrg
814*b1e83836Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
815*b1e83836Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
816*b1e83836Smrg  | --exec | --exe | --ex)
817*b1e83836Smrg    ac_prev=exec_prefix ;;
818*b1e83836Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
819*b1e83836Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
820*b1e83836Smrg  | --exec=* | --exe=* | --ex=*)
821*b1e83836Smrg    exec_prefix=$ac_optarg ;;
822*b1e83836Smrg
823*b1e83836Smrg  -gas | --gas | --ga | --g)
824*b1e83836Smrg    # Obsolete; use --with-gas.
825*b1e83836Smrg    with_gas=yes ;;
826*b1e83836Smrg
827*b1e83836Smrg  -help | --help | --hel | --he | -h)
828*b1e83836Smrg    ac_init_help=long ;;
829*b1e83836Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
830*b1e83836Smrg    ac_init_help=recursive ;;
831*b1e83836Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
832*b1e83836Smrg    ac_init_help=short ;;
833*b1e83836Smrg
834*b1e83836Smrg  -host | --host | --hos | --ho)
835*b1e83836Smrg    ac_prev=host_alias ;;
836*b1e83836Smrg  -host=* | --host=* | --hos=* | --ho=*)
837*b1e83836Smrg    host_alias=$ac_optarg ;;
838*b1e83836Smrg
839*b1e83836Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
840*b1e83836Smrg    ac_prev=htmldir ;;
841*b1e83836Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
842*b1e83836Smrg  | --ht=*)
843*b1e83836Smrg    htmldir=$ac_optarg ;;
844*b1e83836Smrg
845*b1e83836Smrg  -includedir | --includedir | --includedi | --included | --include \
846*b1e83836Smrg  | --includ | --inclu | --incl | --inc)
847*b1e83836Smrg    ac_prev=includedir ;;
848*b1e83836Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
849*b1e83836Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
850*b1e83836Smrg    includedir=$ac_optarg ;;
851*b1e83836Smrg
852*b1e83836Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
853*b1e83836Smrg    ac_prev=infodir ;;
854*b1e83836Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
855*b1e83836Smrg    infodir=$ac_optarg ;;
856*b1e83836Smrg
857*b1e83836Smrg  -libdir | --libdir | --libdi | --libd)
858*b1e83836Smrg    ac_prev=libdir ;;
859*b1e83836Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
860*b1e83836Smrg    libdir=$ac_optarg ;;
861*b1e83836Smrg
862*b1e83836Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
863*b1e83836Smrg  | --libexe | --libex | --libe)
864*b1e83836Smrg    ac_prev=libexecdir ;;
865*b1e83836Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
866*b1e83836Smrg  | --libexe=* | --libex=* | --libe=*)
867*b1e83836Smrg    libexecdir=$ac_optarg ;;
868*b1e83836Smrg
869*b1e83836Smrg  -localedir | --localedir | --localedi | --localed | --locale)
870*b1e83836Smrg    ac_prev=localedir ;;
871*b1e83836Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
872*b1e83836Smrg    localedir=$ac_optarg ;;
873*b1e83836Smrg
874*b1e83836Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
875*b1e83836Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
876*b1e83836Smrg    ac_prev=localstatedir ;;
877*b1e83836Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
878*b1e83836Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
879*b1e83836Smrg    localstatedir=$ac_optarg ;;
880*b1e83836Smrg
881*b1e83836Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
882*b1e83836Smrg    ac_prev=mandir ;;
883*b1e83836Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
884*b1e83836Smrg    mandir=$ac_optarg ;;
885*b1e83836Smrg
886*b1e83836Smrg  -nfp | --nfp | --nf)
887*b1e83836Smrg    # Obsolete; use --without-fp.
888*b1e83836Smrg    with_fp=no ;;
889*b1e83836Smrg
890*b1e83836Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
891*b1e83836Smrg  | --no-cr | --no-c | -n)
892*b1e83836Smrg    no_create=yes ;;
893*b1e83836Smrg
894*b1e83836Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
895*b1e83836Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
896*b1e83836Smrg    no_recursion=yes ;;
897*b1e83836Smrg
898*b1e83836Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
899*b1e83836Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
900*b1e83836Smrg  | --oldin | --oldi | --old | --ol | --o)
901*b1e83836Smrg    ac_prev=oldincludedir ;;
902*b1e83836Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
903*b1e83836Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
904*b1e83836Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
905*b1e83836Smrg    oldincludedir=$ac_optarg ;;
906*b1e83836Smrg
907*b1e83836Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
908*b1e83836Smrg    ac_prev=prefix ;;
909*b1e83836Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
910*b1e83836Smrg    prefix=$ac_optarg ;;
911*b1e83836Smrg
912*b1e83836Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
913*b1e83836Smrg  | --program-pre | --program-pr | --program-p)
914*b1e83836Smrg    ac_prev=program_prefix ;;
915*b1e83836Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
916*b1e83836Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
917*b1e83836Smrg    program_prefix=$ac_optarg ;;
918*b1e83836Smrg
919*b1e83836Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
920*b1e83836Smrg  | --program-suf | --program-su | --program-s)
921*b1e83836Smrg    ac_prev=program_suffix ;;
922*b1e83836Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
923*b1e83836Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
924*b1e83836Smrg    program_suffix=$ac_optarg ;;
925*b1e83836Smrg
926*b1e83836Smrg  -program-transform-name | --program-transform-name \
927*b1e83836Smrg  | --program-transform-nam | --program-transform-na \
928*b1e83836Smrg  | --program-transform-n | --program-transform- \
929*b1e83836Smrg  | --program-transform | --program-transfor \
930*b1e83836Smrg  | --program-transfo | --program-transf \
931*b1e83836Smrg  | --program-trans | --program-tran \
932*b1e83836Smrg  | --progr-tra | --program-tr | --program-t)
933*b1e83836Smrg    ac_prev=program_transform_name ;;
934*b1e83836Smrg  -program-transform-name=* | --program-transform-name=* \
935*b1e83836Smrg  | --program-transform-nam=* | --program-transform-na=* \
936*b1e83836Smrg  | --program-transform-n=* | --program-transform-=* \
937*b1e83836Smrg  | --program-transform=* | --program-transfor=* \
938*b1e83836Smrg  | --program-transfo=* | --program-transf=* \
939*b1e83836Smrg  | --program-trans=* | --program-tran=* \
940*b1e83836Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
941*b1e83836Smrg    program_transform_name=$ac_optarg ;;
942*b1e83836Smrg
943*b1e83836Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
944*b1e83836Smrg    ac_prev=pdfdir ;;
945*b1e83836Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
946*b1e83836Smrg    pdfdir=$ac_optarg ;;
947*b1e83836Smrg
948*b1e83836Smrg  -psdir | --psdir | --psdi | --psd | --ps)
949*b1e83836Smrg    ac_prev=psdir ;;
950*b1e83836Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
951*b1e83836Smrg    psdir=$ac_optarg ;;
952*b1e83836Smrg
953*b1e83836Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
954*b1e83836Smrg  | -silent | --silent | --silen | --sile | --sil)
955*b1e83836Smrg    silent=yes ;;
956*b1e83836Smrg
957*b1e83836Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
958*b1e83836Smrg    ac_prev=sbindir ;;
959*b1e83836Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
960*b1e83836Smrg  | --sbi=* | --sb=*)
961*b1e83836Smrg    sbindir=$ac_optarg ;;
962*b1e83836Smrg
963*b1e83836Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
964*b1e83836Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
965*b1e83836Smrg  | --sharedst | --shareds | --shared | --share | --shar \
966*b1e83836Smrg  | --sha | --sh)
967*b1e83836Smrg    ac_prev=sharedstatedir ;;
968*b1e83836Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
969*b1e83836Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
970*b1e83836Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
971*b1e83836Smrg  | --sha=* | --sh=*)
972*b1e83836Smrg    sharedstatedir=$ac_optarg ;;
973*b1e83836Smrg
974*b1e83836Smrg  -site | --site | --sit)
975*b1e83836Smrg    ac_prev=site ;;
976*b1e83836Smrg  -site=* | --site=* | --sit=*)
977*b1e83836Smrg    site=$ac_optarg ;;
978*b1e83836Smrg
979*b1e83836Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
980*b1e83836Smrg    ac_prev=srcdir ;;
981*b1e83836Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
982*b1e83836Smrg    srcdir=$ac_optarg ;;
983*b1e83836Smrg
984*b1e83836Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
985*b1e83836Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
986*b1e83836Smrg    ac_prev=sysconfdir ;;
987*b1e83836Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
988*b1e83836Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
989*b1e83836Smrg    sysconfdir=$ac_optarg ;;
990*b1e83836Smrg
991*b1e83836Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
992*b1e83836Smrg    ac_prev=target_alias ;;
993*b1e83836Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
994*b1e83836Smrg    target_alias=$ac_optarg ;;
995*b1e83836Smrg
996*b1e83836Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
997*b1e83836Smrg    verbose=yes ;;
998*b1e83836Smrg
999*b1e83836Smrg  -version | --version | --versio | --versi | --vers | -V)
1000*b1e83836Smrg    ac_init_version=: ;;
1001*b1e83836Smrg
1002*b1e83836Smrg  -with-* | --with-*)
1003*b1e83836Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1004*b1e83836Smrg    # Reject names that are not valid shell variable names.
1005*b1e83836Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006*b1e83836Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1007*b1e83836Smrg    ac_useropt_orig=$ac_useropt
1008*b1e83836Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009*b1e83836Smrg    case $ac_user_opts in
1010*b1e83836Smrg      *"
1011*b1e83836Smrg"with_$ac_useropt"
1012*b1e83836Smrg"*) ;;
1013*b1e83836Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1014*b1e83836Smrg	 ac_unrecognized_sep=', ';;
1015*b1e83836Smrg    esac
1016*b1e83836Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1017*b1e83836Smrg
1018*b1e83836Smrg  -without-* | --without-*)
1019*b1e83836Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020*b1e83836Smrg    # Reject names that are not valid shell variable names.
1021*b1e83836Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022*b1e83836Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1023*b1e83836Smrg    ac_useropt_orig=$ac_useropt
1024*b1e83836Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025*b1e83836Smrg    case $ac_user_opts in
1026*b1e83836Smrg      *"
1027*b1e83836Smrg"with_$ac_useropt"
1028*b1e83836Smrg"*) ;;
1029*b1e83836Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1030*b1e83836Smrg	 ac_unrecognized_sep=', ';;
1031*b1e83836Smrg    esac
1032*b1e83836Smrg    eval with_$ac_useropt=no ;;
1033*b1e83836Smrg
1034*b1e83836Smrg  --x)
1035*b1e83836Smrg    # Obsolete; use --with-x.
1036*b1e83836Smrg    with_x=yes ;;
1037*b1e83836Smrg
1038*b1e83836Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1039*b1e83836Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1040*b1e83836Smrg    ac_prev=x_includes ;;
1041*b1e83836Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1042*b1e83836Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1043*b1e83836Smrg    x_includes=$ac_optarg ;;
1044*b1e83836Smrg
1045*b1e83836Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1046*b1e83836Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1047*b1e83836Smrg    ac_prev=x_libraries ;;
1048*b1e83836Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1049*b1e83836Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1050*b1e83836Smrg    x_libraries=$ac_optarg ;;
1051*b1e83836Smrg
1052*b1e83836Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1053*b1e83836SmrgTry \`$0 --help' for more information"
1054*b1e83836Smrg    ;;
1055*b1e83836Smrg
1056*b1e83836Smrg  *=*)
1057*b1e83836Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1058*b1e83836Smrg    # Reject names that are not valid shell variable names.
1059*b1e83836Smrg    case $ac_envvar in #(
1060*b1e83836Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1061*b1e83836Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1062*b1e83836Smrg    esac
1063*b1e83836Smrg    eval $ac_envvar=\$ac_optarg
1064*b1e83836Smrg    export $ac_envvar ;;
1065*b1e83836Smrg
1066*b1e83836Smrg  *)
1067*b1e83836Smrg    # FIXME: should be removed in autoconf 3.0.
1068*b1e83836Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1069*b1e83836Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1070*b1e83836Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1071*b1e83836Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1072*b1e83836Smrg    ;;
1073*b1e83836Smrg
1074*b1e83836Smrg  esac
1075*b1e83836Smrgdone
1076*b1e83836Smrg
1077*b1e83836Smrgif test -n "$ac_prev"; then
1078*b1e83836Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1079*b1e83836Smrg  as_fn_error $? "missing argument to $ac_option"
1080*b1e83836Smrgfi
1081*b1e83836Smrg
1082*b1e83836Smrgif test -n "$ac_unrecognized_opts"; then
1083*b1e83836Smrg  case $enable_option_checking in
1084*b1e83836Smrg    no) ;;
1085*b1e83836Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1086*b1e83836Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1087*b1e83836Smrg  esac
1088*b1e83836Smrgfi
1089*b1e83836Smrg
1090*b1e83836Smrg# Check all directory arguments for consistency.
1091*b1e83836Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1092*b1e83836Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1093*b1e83836Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1094*b1e83836Smrg		libdir localedir mandir
1095*b1e83836Smrgdo
1096*b1e83836Smrg  eval ac_val=\$$ac_var
1097*b1e83836Smrg  # Remove trailing slashes.
1098*b1e83836Smrg  case $ac_val in
1099*b1e83836Smrg    */ )
1100*b1e83836Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1101*b1e83836Smrg      eval $ac_var=\$ac_val;;
1102*b1e83836Smrg  esac
1103*b1e83836Smrg  # Be sure to have absolute directory names.
1104*b1e83836Smrg  case $ac_val in
1105*b1e83836Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1106*b1e83836Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1107*b1e83836Smrg  esac
1108*b1e83836Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1109*b1e83836Smrgdone
1110*b1e83836Smrg
1111*b1e83836Smrg# There might be people who depend on the old broken behavior: `$host'
1112*b1e83836Smrg# used to hold the argument of --host etc.
1113*b1e83836Smrg# FIXME: To remove some day.
1114*b1e83836Smrgbuild=$build_alias
1115*b1e83836Smrghost=$host_alias
1116*b1e83836Smrgtarget=$target_alias
1117*b1e83836Smrg
1118*b1e83836Smrg# FIXME: To remove some day.
1119*b1e83836Smrgif test "x$host_alias" != x; then
1120*b1e83836Smrg  if test "x$build_alias" = x; then
1121*b1e83836Smrg    cross_compiling=maybe
1122*b1e83836Smrg  elif test "x$build_alias" != "x$host_alias"; then
1123*b1e83836Smrg    cross_compiling=yes
1124*b1e83836Smrg  fi
1125*b1e83836Smrgfi
1126*b1e83836Smrg
1127*b1e83836Smrgac_tool_prefix=
1128*b1e83836Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1129*b1e83836Smrg
1130*b1e83836Smrgtest "$silent" = yes && exec 6>/dev/null
1131*b1e83836Smrg
1132*b1e83836Smrg
1133*b1e83836Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1134*b1e83836Smrgac_ls_di=`ls -di .` &&
1135*b1e83836Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1136*b1e83836Smrg  as_fn_error $? "working directory cannot be determined"
1137*b1e83836Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1138*b1e83836Smrg  as_fn_error $? "pwd does not report name of working directory"
1139*b1e83836Smrg
1140*b1e83836Smrg
1141*b1e83836Smrg# Find the source files, if location was not specified.
1142*b1e83836Smrgif test -z "$srcdir"; then
1143*b1e83836Smrg  ac_srcdir_defaulted=yes
1144*b1e83836Smrg  # Try the directory containing this script, then the parent directory.
1145*b1e83836Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1146*b1e83836Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1147*b1e83836Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1148*b1e83836Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1149*b1e83836Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1150*b1e83836Smrg$as_echo X"$as_myself" |
1151*b1e83836Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1152*b1e83836Smrg	    s//\1/
1153*b1e83836Smrg	    q
1154*b1e83836Smrg	  }
1155*b1e83836Smrg	  /^X\(\/\/\)[^/].*/{
1156*b1e83836Smrg	    s//\1/
1157*b1e83836Smrg	    q
1158*b1e83836Smrg	  }
1159*b1e83836Smrg	  /^X\(\/\/\)$/{
1160*b1e83836Smrg	    s//\1/
1161*b1e83836Smrg	    q
1162*b1e83836Smrg	  }
1163*b1e83836Smrg	  /^X\(\/\).*/{
1164*b1e83836Smrg	    s//\1/
1165*b1e83836Smrg	    q
1166*b1e83836Smrg	  }
1167*b1e83836Smrg	  s/.*/./; q'`
1168*b1e83836Smrg  srcdir=$ac_confdir
1169*b1e83836Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1170*b1e83836Smrg    srcdir=..
1171*b1e83836Smrg  fi
1172*b1e83836Smrgelse
1173*b1e83836Smrg  ac_srcdir_defaulted=no
1174*b1e83836Smrgfi
1175*b1e83836Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1176*b1e83836Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1177*b1e83836Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1178*b1e83836Smrgfi
1179*b1e83836Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1180*b1e83836Smrgac_abs_confdir=`(
1181*b1e83836Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1182*b1e83836Smrg	pwd)`
1183*b1e83836Smrg# When building in place, set srcdir=.
1184*b1e83836Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1185*b1e83836Smrg  srcdir=.
1186*b1e83836Smrgfi
1187*b1e83836Smrg# Remove unnecessary trailing slashes from srcdir.
1188*b1e83836Smrg# Double slashes in file names in object file debugging info
1189*b1e83836Smrg# mess up M-x gdb in Emacs.
1190*b1e83836Smrgcase $srcdir in
1191*b1e83836Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1192*b1e83836Smrgesac
1193*b1e83836Smrgfor ac_var in $ac_precious_vars; do
1194*b1e83836Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1195*b1e83836Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1196*b1e83836Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1197*b1e83836Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1198*b1e83836Smrgdone
1199*b1e83836Smrg
1200*b1e83836Smrg#
1201*b1e83836Smrg# Report the --help message.
1202*b1e83836Smrg#
1203*b1e83836Smrgif test "$ac_init_help" = "long"; then
1204*b1e83836Smrg  # Omit some internal or obsolete options to make the list less imposing.
1205*b1e83836Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1206*b1e83836Smrg  cat <<_ACEOF
1207*b1e83836Smrg\`configure' configures codylib 0.0 to adapt to many kinds of systems.
1208*b1e83836Smrg
1209*b1e83836SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1210*b1e83836Smrg
1211*b1e83836SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1212*b1e83836SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1213*b1e83836Smrg
1214*b1e83836SmrgDefaults for the options are specified in brackets.
1215*b1e83836Smrg
1216*b1e83836SmrgConfiguration:
1217*b1e83836Smrg  -h, --help              display this help and exit
1218*b1e83836Smrg      --help=short        display options specific to this package
1219*b1e83836Smrg      --help=recursive    display the short help of all the included packages
1220*b1e83836Smrg  -V, --version           display version information and exit
1221*b1e83836Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1222*b1e83836Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1223*b1e83836Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1224*b1e83836Smrg  -n, --no-create         do not create output files
1225*b1e83836Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1226*b1e83836Smrg
1227*b1e83836SmrgInstallation directories:
1228*b1e83836Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1229*b1e83836Smrg                          [$ac_default_prefix]
1230*b1e83836Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1231*b1e83836Smrg                          [PREFIX]
1232*b1e83836Smrg
1233*b1e83836SmrgBy default, \`make install' will install all the files in
1234*b1e83836Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1235*b1e83836Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1236*b1e83836Smrgfor instance \`--prefix=\$HOME'.
1237*b1e83836Smrg
1238*b1e83836SmrgFor better control, use the options below.
1239*b1e83836Smrg
1240*b1e83836SmrgFine tuning of the installation directories:
1241*b1e83836Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1242*b1e83836Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1243*b1e83836Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1244*b1e83836Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1245*b1e83836Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1246*b1e83836Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1247*b1e83836Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1248*b1e83836Smrg  --includedir=DIR        C header files [PREFIX/include]
1249*b1e83836Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1250*b1e83836Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1251*b1e83836Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1252*b1e83836Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1253*b1e83836Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1254*b1e83836Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1255*b1e83836Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/codylib]
1256*b1e83836Smrg  --htmldir=DIR           html documentation [DOCDIR]
1257*b1e83836Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1258*b1e83836Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1259*b1e83836Smrg  --psdir=DIR             ps documentation [DOCDIR]
1260*b1e83836Smrg_ACEOF
1261*b1e83836Smrg
1262*b1e83836Smrg  cat <<\_ACEOF
1263*b1e83836Smrg
1264*b1e83836SmrgSystem types:
1265*b1e83836Smrg  --build=BUILD     configure for building on BUILD [guessed]
1266*b1e83836Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1267*b1e83836Smrg_ACEOF
1268*b1e83836Smrgfi
1269*b1e83836Smrg
1270*b1e83836Smrgif test -n "$ac_init_help"; then
1271*b1e83836Smrg  case $ac_init_help in
1272*b1e83836Smrg     short | recursive ) echo "Configuration of codylib 0.0:";;
1273*b1e83836Smrg   esac
1274*b1e83836Smrg  cat <<\_ACEOF
1275*b1e83836Smrg
1276*b1e83836SmrgOptional Features:
1277*b1e83836Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1278*b1e83836Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1279*b1e83836Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1280*b1e83836Smrg  --enable-maintainer-mode
1281*b1e83836Smrg                          enable maintainer mode. Add rules to rebuild
1282*b1e83836Smrg                          configurey bits
1283*b1e83836Smrg  --enable-checking[=LIST]
1284*b1e83836Smrg                          enable expensive run-time checks. With LIST, enable
1285*b1e83836Smrg                          only specific categories of checks. Categories are:
1286*b1e83836Smrg                          yes,no,all,none,release. Flags are: misc,valgrind or
1287*b1e83836Smrg                          other strings
1288*b1e83836Smrg  --enable-host-shared    build host code as shared libraries
1289*b1e83836Smrg  --enable-exceptions     enable exceptions & rtti
1290*b1e83836Smrg
1291*b1e83836SmrgOptional Packages:
1292*b1e83836Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1293*b1e83836Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1294*b1e83836Smrg  --with-compiler=NAME    which compiler to use
1295*b1e83836Smrg
1296*b1e83836SmrgSome influential environment variables:
1297*b1e83836Smrg  CXX         C++ compiler command
1298*b1e83836Smrg  CXXFLAGS    C++ compiler flags
1299*b1e83836Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1300*b1e83836Smrg              nonstandard directory <lib dir>
1301*b1e83836Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
1302*b1e83836Smrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1303*b1e83836Smrg              you have headers in a nonstandard directory <include dir>
1304*b1e83836Smrg
1305*b1e83836SmrgUse these variables to override the choices made by `configure' or to help
1306*b1e83836Smrgit to find libraries and programs with nonstandard names/locations.
1307*b1e83836Smrg
1308*b1e83836SmrgReport bugs to <github.com/urnathan/libcody>.
1309*b1e83836Smrg_ACEOF
1310*b1e83836Smrgac_status=$?
1311*b1e83836Smrgfi
1312*b1e83836Smrg
1313*b1e83836Smrgif test "$ac_init_help" = "recursive"; then
1314*b1e83836Smrg  # If there are subdirs, report their specific --help.
1315*b1e83836Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1316*b1e83836Smrg    test -d "$ac_dir" ||
1317*b1e83836Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1318*b1e83836Smrg      continue
1319*b1e83836Smrg    ac_builddir=.
1320*b1e83836Smrg
1321*b1e83836Smrgcase "$ac_dir" in
1322*b1e83836Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323*b1e83836Smrg*)
1324*b1e83836Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1325*b1e83836Smrg  # A ".." for each directory in $ac_dir_suffix.
1326*b1e83836Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1327*b1e83836Smrg  case $ac_top_builddir_sub in
1328*b1e83836Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329*b1e83836Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1330*b1e83836Smrg  esac ;;
1331*b1e83836Smrgesac
1332*b1e83836Smrgac_abs_top_builddir=$ac_pwd
1333*b1e83836Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1334*b1e83836Smrg# for backward compatibility:
1335*b1e83836Smrgac_top_builddir=$ac_top_build_prefix
1336*b1e83836Smrg
1337*b1e83836Smrgcase $srcdir in
1338*b1e83836Smrg  .)  # We are building in place.
1339*b1e83836Smrg    ac_srcdir=.
1340*b1e83836Smrg    ac_top_srcdir=$ac_top_builddir_sub
1341*b1e83836Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1342*b1e83836Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1343*b1e83836Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
1344*b1e83836Smrg    ac_top_srcdir=$srcdir
1345*b1e83836Smrg    ac_abs_top_srcdir=$srcdir ;;
1346*b1e83836Smrg  *) # Relative name.
1347*b1e83836Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348*b1e83836Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1349*b1e83836Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1350*b1e83836Smrgesac
1351*b1e83836Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1352*b1e83836Smrg
1353*b1e83836Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1354*b1e83836Smrg    # Check for guested configure.
1355*b1e83836Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1356*b1e83836Smrg      echo &&
1357*b1e83836Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1358*b1e83836Smrg    elif test -f "$ac_srcdir/configure"; then
1359*b1e83836Smrg      echo &&
1360*b1e83836Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1361*b1e83836Smrg    else
1362*b1e83836Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1363*b1e83836Smrg    fi || ac_status=$?
1364*b1e83836Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1365*b1e83836Smrg  done
1366*b1e83836Smrgfi
1367*b1e83836Smrg
1368*b1e83836Smrgtest -n "$ac_init_help" && exit $ac_status
1369*b1e83836Smrgif $ac_init_version; then
1370*b1e83836Smrg  cat <<\_ACEOF
1371*b1e83836Smrgcodylib configure 0.0
1372*b1e83836Smrggenerated by GNU Autoconf 2.69
1373*b1e83836Smrg
1374*b1e83836SmrgCopyright (C) 2012 Free Software Foundation, Inc.
1375*b1e83836SmrgThis configure script is free software; the Free Software Foundation
1376*b1e83836Smrggives unlimited permission to copy, distribute and modify it.
1377*b1e83836Smrg_ACEOF
1378*b1e83836Smrg  exit
1379*b1e83836Smrgfi
1380*b1e83836Smrg
1381*b1e83836Smrg## ------------------------ ##
1382*b1e83836Smrg## Autoconf initialization. ##
1383*b1e83836Smrg## ------------------------ ##
1384*b1e83836Smrg
1385*b1e83836Smrg# ac_fn_cxx_try_compile LINENO
1386*b1e83836Smrg# ----------------------------
1387*b1e83836Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
1388*b1e83836Smrgac_fn_cxx_try_compile ()
1389*b1e83836Smrg{
1390*b1e83836Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1391*b1e83836Smrg  rm -f conftest.$ac_objext
1392*b1e83836Smrg  if { { ac_try="$ac_compile"
1393*b1e83836Smrgcase "(($ac_try" in
1394*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1395*b1e83836Smrg  *) ac_try_echo=$ac_try;;
1396*b1e83836Smrgesac
1397*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1398*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
1399*b1e83836Smrg  (eval "$ac_compile") 2>conftest.err
1400*b1e83836Smrg  ac_status=$?
1401*b1e83836Smrg  if test -s conftest.err; then
1402*b1e83836Smrg    grep -v '^ *+' conftest.err >conftest.er1
1403*b1e83836Smrg    cat conftest.er1 >&5
1404*b1e83836Smrg    mv -f conftest.er1 conftest.err
1405*b1e83836Smrg  fi
1406*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1407*b1e83836Smrg  test $ac_status = 0; } && {
1408*b1e83836Smrg	 test -z "$ac_cxx_werror_flag" ||
1409*b1e83836Smrg	 test ! -s conftest.err
1410*b1e83836Smrg       } && test -s conftest.$ac_objext; then :
1411*b1e83836Smrg  ac_retval=0
1412*b1e83836Smrgelse
1413*b1e83836Smrg  $as_echo "$as_me: failed program was:" >&5
1414*b1e83836Smrgsed 's/^/| /' conftest.$ac_ext >&5
1415*b1e83836Smrg
1416*b1e83836Smrg	ac_retval=1
1417*b1e83836Smrgfi
1418*b1e83836Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1419*b1e83836Smrg  as_fn_set_status $ac_retval
1420*b1e83836Smrg
1421*b1e83836Smrg} # ac_fn_cxx_try_compile
1422*b1e83836Smrg
1423*b1e83836Smrg# ac_fn_cxx_try_link LINENO
1424*b1e83836Smrg# -------------------------
1425*b1e83836Smrg# Try to link conftest.$ac_ext, and return whether this succeeded.
1426*b1e83836Smrgac_fn_cxx_try_link ()
1427*b1e83836Smrg{
1428*b1e83836Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429*b1e83836Smrg  rm -f conftest.$ac_objext conftest$ac_exeext
1430*b1e83836Smrg  if { { ac_try="$ac_link"
1431*b1e83836Smrgcase "(($ac_try" in
1432*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433*b1e83836Smrg  *) ac_try_echo=$ac_try;;
1434*b1e83836Smrgesac
1435*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
1437*b1e83836Smrg  (eval "$ac_link") 2>conftest.err
1438*b1e83836Smrg  ac_status=$?
1439*b1e83836Smrg  if test -s conftest.err; then
1440*b1e83836Smrg    grep -v '^ *+' conftest.err >conftest.er1
1441*b1e83836Smrg    cat conftest.er1 >&5
1442*b1e83836Smrg    mv -f conftest.er1 conftest.err
1443*b1e83836Smrg  fi
1444*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445*b1e83836Smrg  test $ac_status = 0; } && {
1446*b1e83836Smrg	 test -z "$ac_cxx_werror_flag" ||
1447*b1e83836Smrg	 test ! -s conftest.err
1448*b1e83836Smrg       } && test -s conftest$ac_exeext && {
1449*b1e83836Smrg	 test "$cross_compiling" = yes ||
1450*b1e83836Smrg	 test -x conftest$ac_exeext
1451*b1e83836Smrg       }; then :
1452*b1e83836Smrg  ac_retval=0
1453*b1e83836Smrgelse
1454*b1e83836Smrg  $as_echo "$as_me: failed program was:" >&5
1455*b1e83836Smrgsed 's/^/| /' conftest.$ac_ext >&5
1456*b1e83836Smrg
1457*b1e83836Smrg	ac_retval=1
1458*b1e83836Smrgfi
1459*b1e83836Smrg  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1460*b1e83836Smrg  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1461*b1e83836Smrg  # interfere with the next link command; also delete a directory that is
1462*b1e83836Smrg  # left behind by Apple's compiler.  We do this before executing the actions.
1463*b1e83836Smrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1464*b1e83836Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465*b1e83836Smrg  as_fn_set_status $ac_retval
1466*b1e83836Smrg
1467*b1e83836Smrg} # ac_fn_cxx_try_link
1468*b1e83836Smrgcat >config.log <<_ACEOF
1469*b1e83836SmrgThis file contains any messages produced by compilers while
1470*b1e83836Smrgrunning configure, to aid debugging if configure makes a mistake.
1471*b1e83836Smrg
1472*b1e83836SmrgIt was created by codylib $as_me 0.0, which was
1473*b1e83836Smrggenerated by GNU Autoconf 2.69.  Invocation command line was
1474*b1e83836Smrg
1475*b1e83836Smrg  $ $0 $@
1476*b1e83836Smrg
1477*b1e83836Smrg_ACEOF
1478*b1e83836Smrgexec 5>>config.log
1479*b1e83836Smrg{
1480*b1e83836Smrgcat <<_ASUNAME
1481*b1e83836Smrg## --------- ##
1482*b1e83836Smrg## Platform. ##
1483*b1e83836Smrg## --------- ##
1484*b1e83836Smrg
1485*b1e83836Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486*b1e83836Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1487*b1e83836Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1488*b1e83836Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1489*b1e83836Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1490*b1e83836Smrg
1491*b1e83836Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492*b1e83836Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1493*b1e83836Smrg
1494*b1e83836Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1495*b1e83836Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1496*b1e83836Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497*b1e83836Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1498*b1e83836Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1499*b1e83836Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1500*b1e83836Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1501*b1e83836Smrg
1502*b1e83836Smrg_ASUNAME
1503*b1e83836Smrg
1504*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505*b1e83836Smrgfor as_dir in $PATH
1506*b1e83836Smrgdo
1507*b1e83836Smrg  IFS=$as_save_IFS
1508*b1e83836Smrg  test -z "$as_dir" && as_dir=.
1509*b1e83836Smrg    $as_echo "PATH: $as_dir"
1510*b1e83836Smrg  done
1511*b1e83836SmrgIFS=$as_save_IFS
1512*b1e83836Smrg
1513*b1e83836Smrg} >&5
1514*b1e83836Smrg
1515*b1e83836Smrgcat >&5 <<_ACEOF
1516*b1e83836Smrg
1517*b1e83836Smrg
1518*b1e83836Smrg## ----------- ##
1519*b1e83836Smrg## Core tests. ##
1520*b1e83836Smrg## ----------- ##
1521*b1e83836Smrg
1522*b1e83836Smrg_ACEOF
1523*b1e83836Smrg
1524*b1e83836Smrg
1525*b1e83836Smrg# Keep a trace of the command line.
1526*b1e83836Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1527*b1e83836Smrg# Strip out --silent because we don't want to record it for future runs.
1528*b1e83836Smrg# Also quote any args containing shell meta-characters.
1529*b1e83836Smrg# Make two passes to allow for proper duplicate-argument suppression.
1530*b1e83836Smrgac_configure_args=
1531*b1e83836Smrgac_configure_args0=
1532*b1e83836Smrgac_configure_args1=
1533*b1e83836Smrgac_must_keep_next=false
1534*b1e83836Smrgfor ac_pass in 1 2
1535*b1e83836Smrgdo
1536*b1e83836Smrg  for ac_arg
1537*b1e83836Smrg  do
1538*b1e83836Smrg    case $ac_arg in
1539*b1e83836Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540*b1e83836Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541*b1e83836Smrg    | -silent | --silent | --silen | --sile | --sil)
1542*b1e83836Smrg      continue ;;
1543*b1e83836Smrg    *\'*)
1544*b1e83836Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545*b1e83836Smrg    esac
1546*b1e83836Smrg    case $ac_pass in
1547*b1e83836Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1548*b1e83836Smrg    2)
1549*b1e83836Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1550*b1e83836Smrg      if test $ac_must_keep_next = true; then
1551*b1e83836Smrg	ac_must_keep_next=false # Got value, back to normal.
1552*b1e83836Smrg      else
1553*b1e83836Smrg	case $ac_arg in
1554*b1e83836Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1555*b1e83836Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556*b1e83836Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557*b1e83836Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1558*b1e83836Smrg	    case "$ac_configure_args0 " in
1559*b1e83836Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560*b1e83836Smrg	    esac
1561*b1e83836Smrg	    ;;
1562*b1e83836Smrg	  -* ) ac_must_keep_next=true ;;
1563*b1e83836Smrg	esac
1564*b1e83836Smrg      fi
1565*b1e83836Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1566*b1e83836Smrg      ;;
1567*b1e83836Smrg    esac
1568*b1e83836Smrg  done
1569*b1e83836Smrgdone
1570*b1e83836Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1571*b1e83836Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1572*b1e83836Smrg
1573*b1e83836Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1574*b1e83836Smrg# config.log.  We remove comments because anyway the quotes in there
1575*b1e83836Smrg# would cause problems or look ugly.
1576*b1e83836Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1577*b1e83836Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578*b1e83836Smrgtrap 'exit_status=$?
1579*b1e83836Smrg  # Save into config.log some information that might help in debugging.
1580*b1e83836Smrg  {
1581*b1e83836Smrg    echo
1582*b1e83836Smrg
1583*b1e83836Smrg    $as_echo "## ---------------- ##
1584*b1e83836Smrg## Cache variables. ##
1585*b1e83836Smrg## ---------------- ##"
1586*b1e83836Smrg    echo
1587*b1e83836Smrg    # The following way of writing the cache mishandles newlines in values,
1588*b1e83836Smrg(
1589*b1e83836Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590*b1e83836Smrg    eval ac_val=\$$ac_var
1591*b1e83836Smrg    case $ac_val in #(
1592*b1e83836Smrg    *${as_nl}*)
1593*b1e83836Smrg      case $ac_var in #(
1594*b1e83836Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1595*b1e83836Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1596*b1e83836Smrg      esac
1597*b1e83836Smrg      case $ac_var in #(
1598*b1e83836Smrg      _ | IFS | as_nl) ;; #(
1599*b1e83836Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600*b1e83836Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1601*b1e83836Smrg      esac ;;
1602*b1e83836Smrg    esac
1603*b1e83836Smrg  done
1604*b1e83836Smrg  (set) 2>&1 |
1605*b1e83836Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606*b1e83836Smrg    *${as_nl}ac_space=\ *)
1607*b1e83836Smrg      sed -n \
1608*b1e83836Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1609*b1e83836Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610*b1e83836Smrg      ;; #(
1611*b1e83836Smrg    *)
1612*b1e83836Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613*b1e83836Smrg      ;;
1614*b1e83836Smrg    esac |
1615*b1e83836Smrg    sort
1616*b1e83836Smrg)
1617*b1e83836Smrg    echo
1618*b1e83836Smrg
1619*b1e83836Smrg    $as_echo "## ----------------- ##
1620*b1e83836Smrg## Output variables. ##
1621*b1e83836Smrg## ----------------- ##"
1622*b1e83836Smrg    echo
1623*b1e83836Smrg    for ac_var in $ac_subst_vars
1624*b1e83836Smrg    do
1625*b1e83836Smrg      eval ac_val=\$$ac_var
1626*b1e83836Smrg      case $ac_val in
1627*b1e83836Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628*b1e83836Smrg      esac
1629*b1e83836Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1630*b1e83836Smrg    done | sort
1631*b1e83836Smrg    echo
1632*b1e83836Smrg
1633*b1e83836Smrg    if test -n "$ac_subst_files"; then
1634*b1e83836Smrg      $as_echo "## ------------------- ##
1635*b1e83836Smrg## File substitutions. ##
1636*b1e83836Smrg## ------------------- ##"
1637*b1e83836Smrg      echo
1638*b1e83836Smrg      for ac_var in $ac_subst_files
1639*b1e83836Smrg      do
1640*b1e83836Smrg	eval ac_val=\$$ac_var
1641*b1e83836Smrg	case $ac_val in
1642*b1e83836Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643*b1e83836Smrg	esac
1644*b1e83836Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1645*b1e83836Smrg      done | sort
1646*b1e83836Smrg      echo
1647*b1e83836Smrg    fi
1648*b1e83836Smrg
1649*b1e83836Smrg    if test -s confdefs.h; then
1650*b1e83836Smrg      $as_echo "## ----------- ##
1651*b1e83836Smrg## confdefs.h. ##
1652*b1e83836Smrg## ----------- ##"
1653*b1e83836Smrg      echo
1654*b1e83836Smrg      cat confdefs.h
1655*b1e83836Smrg      echo
1656*b1e83836Smrg    fi
1657*b1e83836Smrg    test "$ac_signal" != 0 &&
1658*b1e83836Smrg      $as_echo "$as_me: caught signal $ac_signal"
1659*b1e83836Smrg    $as_echo "$as_me: exit $exit_status"
1660*b1e83836Smrg  } >&5
1661*b1e83836Smrg  rm -f core *.core core.conftest.* &&
1662*b1e83836Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663*b1e83836Smrg    exit $exit_status
1664*b1e83836Smrg' 0
1665*b1e83836Smrgfor ac_signal in 1 2 13 15; do
1666*b1e83836Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1667*b1e83836Smrgdone
1668*b1e83836Smrgac_signal=0
1669*b1e83836Smrg
1670*b1e83836Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1671*b1e83836Smrgrm -f -r conftest* confdefs.h
1672*b1e83836Smrg
1673*b1e83836Smrg$as_echo "/* confdefs.h */" > confdefs.h
1674*b1e83836Smrg
1675*b1e83836Smrg# Predefined preprocessor variables.
1676*b1e83836Smrg
1677*b1e83836Smrgcat >>confdefs.h <<_ACEOF
1678*b1e83836Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1679*b1e83836Smrg_ACEOF
1680*b1e83836Smrg
1681*b1e83836Smrgcat >>confdefs.h <<_ACEOF
1682*b1e83836Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683*b1e83836Smrg_ACEOF
1684*b1e83836Smrg
1685*b1e83836Smrgcat >>confdefs.h <<_ACEOF
1686*b1e83836Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1687*b1e83836Smrg_ACEOF
1688*b1e83836Smrg
1689*b1e83836Smrgcat >>confdefs.h <<_ACEOF
1690*b1e83836Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1691*b1e83836Smrg_ACEOF
1692*b1e83836Smrg
1693*b1e83836Smrgcat >>confdefs.h <<_ACEOF
1694*b1e83836Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695*b1e83836Smrg_ACEOF
1696*b1e83836Smrg
1697*b1e83836Smrgcat >>confdefs.h <<_ACEOF
1698*b1e83836Smrg#define PACKAGE_URL "$PACKAGE_URL"
1699*b1e83836Smrg_ACEOF
1700*b1e83836Smrg
1701*b1e83836Smrg
1702*b1e83836Smrg# Let the site file select an alternate cache file if it wants to.
1703*b1e83836Smrg# Prefer an explicitly selected file to automatically selected ones.
1704*b1e83836Smrgac_site_file1=NONE
1705*b1e83836Smrgac_site_file2=NONE
1706*b1e83836Smrgif test -n "$CONFIG_SITE"; then
1707*b1e83836Smrg  # We do not want a PATH search for config.site.
1708*b1e83836Smrg  case $CONFIG_SITE in #((
1709*b1e83836Smrg    -*)  ac_site_file1=./$CONFIG_SITE;;
1710*b1e83836Smrg    */*) ac_site_file1=$CONFIG_SITE;;
1711*b1e83836Smrg    *)   ac_site_file1=./$CONFIG_SITE;;
1712*b1e83836Smrg  esac
1713*b1e83836Smrgelif test "x$prefix" != xNONE; then
1714*b1e83836Smrg  ac_site_file1=$prefix/share/config.site
1715*b1e83836Smrg  ac_site_file2=$prefix/etc/config.site
1716*b1e83836Smrgelse
1717*b1e83836Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1718*b1e83836Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1719*b1e83836Smrgfi
1720*b1e83836Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1721*b1e83836Smrgdo
1722*b1e83836Smrg  test "x$ac_site_file" = xNONE && continue
1723*b1e83836Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1724*b1e83836Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1725*b1e83836Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726*b1e83836Smrg    sed 's/^/| /' "$ac_site_file" >&5
1727*b1e83836Smrg    . "$ac_site_file" \
1728*b1e83836Smrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729*b1e83836Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730*b1e83836Smrgas_fn_error $? "failed to load site script $ac_site_file
1731*b1e83836SmrgSee \`config.log' for more details" "$LINENO" 5; }
1732*b1e83836Smrg  fi
1733*b1e83836Smrgdone
1734*b1e83836Smrg
1735*b1e83836Smrgif test -r "$cache_file"; then
1736*b1e83836Smrg  # Some versions of bash will fail to source /dev/null (special files
1737*b1e83836Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1738*b1e83836Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1739*b1e83836Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1740*b1e83836Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1741*b1e83836Smrg    case $cache_file in
1742*b1e83836Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1743*b1e83836Smrg      *)                      . "./$cache_file";;
1744*b1e83836Smrg    esac
1745*b1e83836Smrg  fi
1746*b1e83836Smrgelse
1747*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1748*b1e83836Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1749*b1e83836Smrg  >$cache_file
1750*b1e83836Smrgfi
1751*b1e83836Smrg
1752*b1e83836Smrg# Check that the precious variables saved in the cache have kept the same
1753*b1e83836Smrg# value.
1754*b1e83836Smrgac_cache_corrupted=false
1755*b1e83836Smrgfor ac_var in $ac_precious_vars; do
1756*b1e83836Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1757*b1e83836Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1758*b1e83836Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1759*b1e83836Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1760*b1e83836Smrg  case $ac_old_set,$ac_new_set in
1761*b1e83836Smrg    set,)
1762*b1e83836Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1763*b1e83836Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1764*b1e83836Smrg      ac_cache_corrupted=: ;;
1765*b1e83836Smrg    ,set)
1766*b1e83836Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1767*b1e83836Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1768*b1e83836Smrg      ac_cache_corrupted=: ;;
1769*b1e83836Smrg    ,);;
1770*b1e83836Smrg    *)
1771*b1e83836Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1772*b1e83836Smrg	# differences in whitespace do not lead to failure.
1773*b1e83836Smrg	ac_old_val_w=`echo x $ac_old_val`
1774*b1e83836Smrg	ac_new_val_w=`echo x $ac_new_val`
1775*b1e83836Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1776*b1e83836Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1777*b1e83836Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1778*b1e83836Smrg	  ac_cache_corrupted=:
1779*b1e83836Smrg	else
1780*b1e83836Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1781*b1e83836Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1782*b1e83836Smrg	  eval $ac_var=\$ac_old_val
1783*b1e83836Smrg	fi
1784*b1e83836Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1785*b1e83836Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1786*b1e83836Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1787*b1e83836Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1788*b1e83836Smrg      fi;;
1789*b1e83836Smrg  esac
1790*b1e83836Smrg  # Pass precious variables to config.status.
1791*b1e83836Smrg  if test "$ac_new_set" = set; then
1792*b1e83836Smrg    case $ac_new_val in
1793*b1e83836Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1794*b1e83836Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1795*b1e83836Smrg    esac
1796*b1e83836Smrg    case " $ac_configure_args " in
1797*b1e83836Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1798*b1e83836Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1799*b1e83836Smrg    esac
1800*b1e83836Smrg  fi
1801*b1e83836Smrgdone
1802*b1e83836Smrgif $ac_cache_corrupted; then
1803*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1804*b1e83836Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1805*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1806*b1e83836Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1807*b1e83836Smrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1808*b1e83836Smrgfi
1809*b1e83836Smrg## -------------------- ##
1810*b1e83836Smrg## Main body of script. ##
1811*b1e83836Smrg## -------------------- ##
1812*b1e83836Smrg
1813*b1e83836Smrgac_ext=c
1814*b1e83836Smrgac_cpp='$CPP $CPPFLAGS'
1815*b1e83836Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1816*b1e83836Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1817*b1e83836Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1818*b1e83836Smrg
1819*b1e83836Smrg
1820*b1e83836Smrg
1821*b1e83836Smrg# Nathan's Common Config -*- mode:autoconf -*-
1822*b1e83836Smrg# Copyright (C) 2020 Nathan Sidwell, nathan@acm.org
1823*b1e83836Smrg# License: Apache v2.0
1824*b1e83836Smrg
1825*b1e83836Smrg# Note: VAR+=... is not dashing, despite its looks
1826*b1e83836Smrg
1827*b1e83836Smrg
1828*b1e83836Smrg
1829*b1e83836Smrg
1830*b1e83836Smrg
1831*b1e83836Smrg
1832*b1e83836Smrg
1833*b1e83836Smrg
1834*b1e83836Smrg
1835*b1e83836Smrg
1836*b1e83836Smrg
1837*b1e83836Smrg
1838*b1e83836Smrg
1839*b1e83836Smrg
1840*b1e83836Smrgac_aux_dir=
1841*b1e83836Smrgfor ac_dir in .. "$srcdir"/..; do
1842*b1e83836Smrg  if test -f "$ac_dir/install-sh"; then
1843*b1e83836Smrg    ac_aux_dir=$ac_dir
1844*b1e83836Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1845*b1e83836Smrg    break
1846*b1e83836Smrg  elif test -f "$ac_dir/install.sh"; then
1847*b1e83836Smrg    ac_aux_dir=$ac_dir
1848*b1e83836Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1849*b1e83836Smrg    break
1850*b1e83836Smrg  elif test -f "$ac_dir/shtool"; then
1851*b1e83836Smrg    ac_aux_dir=$ac_dir
1852*b1e83836Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1853*b1e83836Smrg    break
1854*b1e83836Smrg  fi
1855*b1e83836Smrgdone
1856*b1e83836Smrgif test -z "$ac_aux_dir"; then
1857*b1e83836Smrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1858*b1e83836Smrgfi
1859*b1e83836Smrg
1860*b1e83836Smrg# These three variables are undocumented and unsupported,
1861*b1e83836Smrg# and are intended to be withdrawn in a future Autoconf release.
1862*b1e83836Smrg# They can cause serious problems if a builder's source tree is in a directory
1863*b1e83836Smrg# whose full name contains unusual characters.
1864*b1e83836Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1865*b1e83836Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1866*b1e83836Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1867*b1e83836Smrg
1868*b1e83836Smrg
1869*b1e83836Smrg
1870*b1e83836Smrg
1871*b1e83836Smrg# Make sure we can run config.sub.
1872*b1e83836Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1873*b1e83836Smrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1874*b1e83836Smrg
1875*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1876*b1e83836Smrg$as_echo_n "checking build system type... " >&6; }
1877*b1e83836Smrgif ${ac_cv_build+:} false; then :
1878*b1e83836Smrg  $as_echo_n "(cached) " >&6
1879*b1e83836Smrgelse
1880*b1e83836Smrg  ac_build_alias=$build_alias
1881*b1e83836Smrgtest "x$ac_build_alias" = x &&
1882*b1e83836Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1883*b1e83836Smrgtest "x$ac_build_alias" = x &&
1884*b1e83836Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1885*b1e83836Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1886*b1e83836Smrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1887*b1e83836Smrg
1888*b1e83836Smrgfi
1889*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1890*b1e83836Smrg$as_echo "$ac_cv_build" >&6; }
1891*b1e83836Smrgcase $ac_cv_build in
1892*b1e83836Smrg*-*-*) ;;
1893*b1e83836Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1894*b1e83836Smrgesac
1895*b1e83836Smrgbuild=$ac_cv_build
1896*b1e83836Smrgac_save_IFS=$IFS; IFS='-'
1897*b1e83836Smrgset x $ac_cv_build
1898*b1e83836Smrgshift
1899*b1e83836Smrgbuild_cpu=$1
1900*b1e83836Smrgbuild_vendor=$2
1901*b1e83836Smrgshift; shift
1902*b1e83836Smrg# Remember, the first character of IFS is used to create $*,
1903*b1e83836Smrg# except with old shells:
1904*b1e83836Smrgbuild_os=$*
1905*b1e83836SmrgIFS=$ac_save_IFS
1906*b1e83836Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1907*b1e83836Smrg
1908*b1e83836Smrg
1909*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1910*b1e83836Smrg$as_echo_n "checking host system type... " >&6; }
1911*b1e83836Smrgif ${ac_cv_host+:} false; then :
1912*b1e83836Smrg  $as_echo_n "(cached) " >&6
1913*b1e83836Smrgelse
1914*b1e83836Smrg  if test "x$host_alias" = x; then
1915*b1e83836Smrg  ac_cv_host=$ac_cv_build
1916*b1e83836Smrgelse
1917*b1e83836Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1918*b1e83836Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1919*b1e83836Smrgfi
1920*b1e83836Smrg
1921*b1e83836Smrgfi
1922*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1923*b1e83836Smrg$as_echo "$ac_cv_host" >&6; }
1924*b1e83836Smrgcase $ac_cv_host in
1925*b1e83836Smrg*-*-*) ;;
1926*b1e83836Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1927*b1e83836Smrgesac
1928*b1e83836Smrghost=$ac_cv_host
1929*b1e83836Smrgac_save_IFS=$IFS; IFS='-'
1930*b1e83836Smrgset x $ac_cv_host
1931*b1e83836Smrgshift
1932*b1e83836Smrghost_cpu=$1
1933*b1e83836Smrghost_vendor=$2
1934*b1e83836Smrgshift; shift
1935*b1e83836Smrg# Remember, the first character of IFS is used to create $*,
1936*b1e83836Smrg# except with old shells:
1937*b1e83836Smrghost_os=$*
1938*b1e83836SmrgIFS=$ac_save_IFS
1939*b1e83836Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1940*b1e83836Smrg
1941*b1e83836Smrg
1942*b1e83836Smrg
1943*b1e83836Smrg# Check whether --enable-maintainer-mode was given.
1944*b1e83836Smrgif test "${enable_maintainer_mode+set}" = set; then :
1945*b1e83836Smrg  enableval=$enable_maintainer_mode;
1946*b1e83836Smrgelse
1947*b1e83836Smrg  enable_maintainer_mode=no
1948*b1e83836Smrgfi
1949*b1e83836Smrg
1950*b1e83836Smrgcase $enable_maintainer_mode in #(
1951*b1e83836Smrg  yes) :
1952*b1e83836Smrg    maintainer_mode=yes ;; #(
1953*b1e83836Smrg  no) :
1954*b1e83836Smrg    maintainer=no ;; #(
1955*b1e83836Smrg  *) :
1956*b1e83836Smrg    as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
1957*b1e83836Smrgesac
1958*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
1959*b1e83836Smrg$as_echo_n "checking maintainer-mode... " >&6; }
1960*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
1961*b1e83836Smrg$as_echo "$maintainer_mode" >&6; }
1962*b1e83836Smrgtest "$maintainer_mode" = yes && MAINTAINER=yes
1963*b1e83836Smrg
1964*b1e83836Smrg
1965*b1e83836Smrg# Check whether --with-compiler was given.
1966*b1e83836Smrgif test "${with_compiler+set}" = set; then :
1967*b1e83836Smrg  withval=$with_compiler; { $as_echo "$as_me:${as_lineno-$LINENO}: checking C++ compiler" >&5
1968*b1e83836Smrg$as_echo_n "checking C++ compiler... " >&6; }
1969*b1e83836Smrgif test "$withval" = "yes" ; then
1970*b1e83836Smrg  as_fn_error $? "NAME not specified" "$LINENO" 5
1971*b1e83836Smrgelif test "$withval" = "no" ; then
1972*b1e83836Smrg  as_fn_error $? "Gonna need a C++ compiler!" "$LINENO" 5
1973*b1e83836Smrgelse
1974*b1e83836Smrg  CXX="${withval}"
1975*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1976*b1e83836Smrg$as_echo "$CXX" >&6; }
1977*b1e83836Smrgfi
1978*b1e83836Smrgfi
1979*b1e83836Smrg
1980*b1e83836Smrgac_ext=cpp
1981*b1e83836Smrgac_cpp='$CXXCPP $CPPFLAGS'
1982*b1e83836Smrgac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1983*b1e83836Smrgac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1984*b1e83836Smrgac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1985*b1e83836Smrg
1986*b1e83836Smrgac_ext=cpp
1987*b1e83836Smrgac_cpp='$CXXCPP $CPPFLAGS'
1988*b1e83836Smrgac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1989*b1e83836Smrgac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1990*b1e83836Smrgac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1991*b1e83836Smrgif test -z "$CXX"; then
1992*b1e83836Smrg  if test -n "$CCC"; then
1993*b1e83836Smrg    CXX=$CCC
1994*b1e83836Smrg  else
1995*b1e83836Smrg    if test -n "$ac_tool_prefix"; then
1996*b1e83836Smrg  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1997*b1e83836Smrg  do
1998*b1e83836Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1999*b1e83836Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2000*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2001*b1e83836Smrg$as_echo_n "checking for $ac_word... " >&6; }
2002*b1e83836Smrgif ${ac_cv_prog_CXX+:} false; then :
2003*b1e83836Smrg  $as_echo_n "(cached) " >&6
2004*b1e83836Smrgelse
2005*b1e83836Smrg  if test -n "$CXX"; then
2006*b1e83836Smrg  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2007*b1e83836Smrgelse
2008*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009*b1e83836Smrgfor as_dir in $PATH
2010*b1e83836Smrgdo
2011*b1e83836Smrg  IFS=$as_save_IFS
2012*b1e83836Smrg  test -z "$as_dir" && as_dir=.
2013*b1e83836Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2014*b1e83836Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015*b1e83836Smrg    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2016*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2017*b1e83836Smrg    break 2
2018*b1e83836Smrg  fi
2019*b1e83836Smrgdone
2020*b1e83836Smrg  done
2021*b1e83836SmrgIFS=$as_save_IFS
2022*b1e83836Smrg
2023*b1e83836Smrgfi
2024*b1e83836Smrgfi
2025*b1e83836SmrgCXX=$ac_cv_prog_CXX
2026*b1e83836Smrgif test -n "$CXX"; then
2027*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2028*b1e83836Smrg$as_echo "$CXX" >&6; }
2029*b1e83836Smrgelse
2030*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2031*b1e83836Smrg$as_echo "no" >&6; }
2032*b1e83836Smrgfi
2033*b1e83836Smrg
2034*b1e83836Smrg
2035*b1e83836Smrg    test -n "$CXX" && break
2036*b1e83836Smrg  done
2037*b1e83836Smrgfi
2038*b1e83836Smrgif test -z "$CXX"; then
2039*b1e83836Smrg  ac_ct_CXX=$CXX
2040*b1e83836Smrg  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2041*b1e83836Smrgdo
2042*b1e83836Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2043*b1e83836Smrgset dummy $ac_prog; ac_word=$2
2044*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045*b1e83836Smrg$as_echo_n "checking for $ac_word... " >&6; }
2046*b1e83836Smrgif ${ac_cv_prog_ac_ct_CXX+:} false; then :
2047*b1e83836Smrg  $as_echo_n "(cached) " >&6
2048*b1e83836Smrgelse
2049*b1e83836Smrg  if test -n "$ac_ct_CXX"; then
2050*b1e83836Smrg  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2051*b1e83836Smrgelse
2052*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053*b1e83836Smrgfor as_dir in $PATH
2054*b1e83836Smrgdo
2055*b1e83836Smrg  IFS=$as_save_IFS
2056*b1e83836Smrg  test -z "$as_dir" && as_dir=.
2057*b1e83836Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2058*b1e83836Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059*b1e83836Smrg    ac_cv_prog_ac_ct_CXX="$ac_prog"
2060*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061*b1e83836Smrg    break 2
2062*b1e83836Smrg  fi
2063*b1e83836Smrgdone
2064*b1e83836Smrg  done
2065*b1e83836SmrgIFS=$as_save_IFS
2066*b1e83836Smrg
2067*b1e83836Smrgfi
2068*b1e83836Smrgfi
2069*b1e83836Smrgac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2070*b1e83836Smrgif test -n "$ac_ct_CXX"; then
2071*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2072*b1e83836Smrg$as_echo "$ac_ct_CXX" >&6; }
2073*b1e83836Smrgelse
2074*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075*b1e83836Smrg$as_echo "no" >&6; }
2076*b1e83836Smrgfi
2077*b1e83836Smrg
2078*b1e83836Smrg
2079*b1e83836Smrg  test -n "$ac_ct_CXX" && break
2080*b1e83836Smrgdone
2081*b1e83836Smrg
2082*b1e83836Smrg  if test "x$ac_ct_CXX" = x; then
2083*b1e83836Smrg    CXX="g++"
2084*b1e83836Smrg  else
2085*b1e83836Smrg    case $cross_compiling:$ac_tool_warned in
2086*b1e83836Smrgyes:)
2087*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2088*b1e83836Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2089*b1e83836Smrgac_tool_warned=yes ;;
2090*b1e83836Smrgesac
2091*b1e83836Smrg    CXX=$ac_ct_CXX
2092*b1e83836Smrg  fi
2093*b1e83836Smrgfi
2094*b1e83836Smrg
2095*b1e83836Smrg  fi
2096*b1e83836Smrgfi
2097*b1e83836Smrg# Provide some information about the compiler.
2098*b1e83836Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2099*b1e83836Smrgset X $ac_compile
2100*b1e83836Smrgac_compiler=$2
2101*b1e83836Smrgfor ac_option in --version -v -V -qversion; do
2102*b1e83836Smrg  { { ac_try="$ac_compiler $ac_option >&5"
2103*b1e83836Smrgcase "(($ac_try" in
2104*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105*b1e83836Smrg  *) ac_try_echo=$ac_try;;
2106*b1e83836Smrgesac
2107*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
2109*b1e83836Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2110*b1e83836Smrg  ac_status=$?
2111*b1e83836Smrg  if test -s conftest.err; then
2112*b1e83836Smrg    sed '10a\
2113*b1e83836Smrg... rest of stderr output deleted ...
2114*b1e83836Smrg         10q' conftest.err >conftest.er1
2115*b1e83836Smrg    cat conftest.er1 >&5
2116*b1e83836Smrg  fi
2117*b1e83836Smrg  rm -f conftest.er1 conftest.err
2118*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2119*b1e83836Smrg  test $ac_status = 0; }
2120*b1e83836Smrgdone
2121*b1e83836Smrg
2122*b1e83836Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123*b1e83836Smrg/* end confdefs.h.  */
2124*b1e83836Smrg
2125*b1e83836Smrgint
2126*b1e83836Smrgmain ()
2127*b1e83836Smrg{
2128*b1e83836Smrg
2129*b1e83836Smrg  ;
2130*b1e83836Smrg  return 0;
2131*b1e83836Smrg}
2132*b1e83836Smrg_ACEOF
2133*b1e83836Smrgac_clean_files_save=$ac_clean_files
2134*b1e83836Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2135*b1e83836Smrg# Try to create an executable without -o first, disregard a.out.
2136*b1e83836Smrg# It will help us diagnose broken compilers, and finding out an intuition
2137*b1e83836Smrg# of exeext.
2138*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2139*b1e83836Smrg$as_echo_n "checking whether the C++ compiler works... " >&6; }
2140*b1e83836Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2141*b1e83836Smrg
2142*b1e83836Smrg# The possible output files:
2143*b1e83836Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2144*b1e83836Smrg
2145*b1e83836Smrgac_rmfiles=
2146*b1e83836Smrgfor ac_file in $ac_files
2147*b1e83836Smrgdo
2148*b1e83836Smrg  case $ac_file in
2149*b1e83836Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2150*b1e83836Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2151*b1e83836Smrg  esac
2152*b1e83836Smrgdone
2153*b1e83836Smrgrm -f $ac_rmfiles
2154*b1e83836Smrg
2155*b1e83836Smrgif { { ac_try="$ac_link_default"
2156*b1e83836Smrgcase "(($ac_try" in
2157*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158*b1e83836Smrg  *) ac_try_echo=$ac_try;;
2159*b1e83836Smrgesac
2160*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2161*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
2162*b1e83836Smrg  (eval "$ac_link_default") 2>&5
2163*b1e83836Smrg  ac_status=$?
2164*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2165*b1e83836Smrg  test $ac_status = 0; }; then :
2166*b1e83836Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2167*b1e83836Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2168*b1e83836Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2169*b1e83836Smrg# so that the user can short-circuit this test for compilers unknown to
2170*b1e83836Smrg# Autoconf.
2171*b1e83836Smrgfor ac_file in $ac_files ''
2172*b1e83836Smrgdo
2173*b1e83836Smrg  test -f "$ac_file" || continue
2174*b1e83836Smrg  case $ac_file in
2175*b1e83836Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2176*b1e83836Smrg	;;
2177*b1e83836Smrg    [ab].out )
2178*b1e83836Smrg	# We found the default executable, but exeext='' is most
2179*b1e83836Smrg	# certainly right.
2180*b1e83836Smrg	break;;
2181*b1e83836Smrg    *.* )
2182*b1e83836Smrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2183*b1e83836Smrg	then :; else
2184*b1e83836Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2185*b1e83836Smrg	fi
2186*b1e83836Smrg	# We set ac_cv_exeext here because the later test for it is not
2187*b1e83836Smrg	# safe: cross compilers may not add the suffix if given an `-o'
2188*b1e83836Smrg	# argument, so we may need to know it at that point already.
2189*b1e83836Smrg	# Even if this section looks crufty: it has the advantage of
2190*b1e83836Smrg	# actually working.
2191*b1e83836Smrg	break;;
2192*b1e83836Smrg    * )
2193*b1e83836Smrg	break;;
2194*b1e83836Smrg  esac
2195*b1e83836Smrgdone
2196*b1e83836Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
2197*b1e83836Smrg
2198*b1e83836Smrgelse
2199*b1e83836Smrg  ac_file=''
2200*b1e83836Smrgfi
2201*b1e83836Smrgif test -z "$ac_file"; then :
2202*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2203*b1e83836Smrg$as_echo "no" >&6; }
2204*b1e83836Smrg$as_echo "$as_me: failed program was:" >&5
2205*b1e83836Smrgsed 's/^/| /' conftest.$ac_ext >&5
2206*b1e83836Smrg
2207*b1e83836Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208*b1e83836Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209*b1e83836Smrgas_fn_error 77 "C++ compiler cannot create executables
2210*b1e83836SmrgSee \`config.log' for more details" "$LINENO" 5; }
2211*b1e83836Smrgelse
2212*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2213*b1e83836Smrg$as_echo "yes" >&6; }
2214*b1e83836Smrgfi
2215*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2216*b1e83836Smrg$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2217*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2218*b1e83836Smrg$as_echo "$ac_file" >&6; }
2219*b1e83836Smrgac_exeext=$ac_cv_exeext
2220*b1e83836Smrg
2221*b1e83836Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2222*b1e83836Smrgac_clean_files=$ac_clean_files_save
2223*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2224*b1e83836Smrg$as_echo_n "checking for suffix of executables... " >&6; }
2225*b1e83836Smrgif { { ac_try="$ac_link"
2226*b1e83836Smrgcase "(($ac_try" in
2227*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228*b1e83836Smrg  *) ac_try_echo=$ac_try;;
2229*b1e83836Smrgesac
2230*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2231*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
2232*b1e83836Smrg  (eval "$ac_link") 2>&5
2233*b1e83836Smrg  ac_status=$?
2234*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2235*b1e83836Smrg  test $ac_status = 0; }; then :
2236*b1e83836Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2237*b1e83836Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2238*b1e83836Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
2239*b1e83836Smrg# `rm'.
2240*b1e83836Smrgfor ac_file in conftest.exe conftest conftest.*; do
2241*b1e83836Smrg  test -f "$ac_file" || continue
2242*b1e83836Smrg  case $ac_file in
2243*b1e83836Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2244*b1e83836Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2245*b1e83836Smrg	  break;;
2246*b1e83836Smrg    * ) break;;
2247*b1e83836Smrg  esac
2248*b1e83836Smrgdone
2249*b1e83836Smrgelse
2250*b1e83836Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251*b1e83836Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252*b1e83836Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
2253*b1e83836SmrgSee \`config.log' for more details" "$LINENO" 5; }
2254*b1e83836Smrgfi
2255*b1e83836Smrgrm -f conftest conftest$ac_cv_exeext
2256*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2257*b1e83836Smrg$as_echo "$ac_cv_exeext" >&6; }
2258*b1e83836Smrg
2259*b1e83836Smrgrm -f conftest.$ac_ext
2260*b1e83836SmrgEXEEXT=$ac_cv_exeext
2261*b1e83836Smrgac_exeext=$EXEEXT
2262*b1e83836Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2263*b1e83836Smrg/* end confdefs.h.  */
2264*b1e83836Smrg#include <stdio.h>
2265*b1e83836Smrgint
2266*b1e83836Smrgmain ()
2267*b1e83836Smrg{
2268*b1e83836SmrgFILE *f = fopen ("conftest.out", "w");
2269*b1e83836Smrg return ferror (f) || fclose (f) != 0;
2270*b1e83836Smrg
2271*b1e83836Smrg  ;
2272*b1e83836Smrg  return 0;
2273*b1e83836Smrg}
2274*b1e83836Smrg_ACEOF
2275*b1e83836Smrgac_clean_files="$ac_clean_files conftest.out"
2276*b1e83836Smrg# Check that the compiler produces executables we can run.  If not, either
2277*b1e83836Smrg# the compiler is broken, or we cross compile.
2278*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2279*b1e83836Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
2280*b1e83836Smrgif test "$cross_compiling" != yes; then
2281*b1e83836Smrg  { { ac_try="$ac_link"
2282*b1e83836Smrgcase "(($ac_try" in
2283*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284*b1e83836Smrg  *) ac_try_echo=$ac_try;;
2285*b1e83836Smrgesac
2286*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2287*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
2288*b1e83836Smrg  (eval "$ac_link") 2>&5
2289*b1e83836Smrg  ac_status=$?
2290*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2291*b1e83836Smrg  test $ac_status = 0; }
2292*b1e83836Smrg  if { ac_try='./conftest$ac_cv_exeext'
2293*b1e83836Smrg  { { case "(($ac_try" in
2294*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295*b1e83836Smrg  *) ac_try_echo=$ac_try;;
2296*b1e83836Smrgesac
2297*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
2299*b1e83836Smrg  (eval "$ac_try") 2>&5
2300*b1e83836Smrg  ac_status=$?
2301*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2302*b1e83836Smrg  test $ac_status = 0; }; }; then
2303*b1e83836Smrg    cross_compiling=no
2304*b1e83836Smrg  else
2305*b1e83836Smrg    if test "$cross_compiling" = maybe; then
2306*b1e83836Smrg	cross_compiling=yes
2307*b1e83836Smrg    else
2308*b1e83836Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2309*b1e83836Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310*b1e83836Smrgas_fn_error $? "cannot run C++ compiled programs.
2311*b1e83836SmrgIf you meant to cross compile, use \`--host'.
2312*b1e83836SmrgSee \`config.log' for more details" "$LINENO" 5; }
2313*b1e83836Smrg    fi
2314*b1e83836Smrg  fi
2315*b1e83836Smrgfi
2316*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2317*b1e83836Smrg$as_echo "$cross_compiling" >&6; }
2318*b1e83836Smrg
2319*b1e83836Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2320*b1e83836Smrgac_clean_files=$ac_clean_files_save
2321*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2322*b1e83836Smrg$as_echo_n "checking for suffix of object files... " >&6; }
2323*b1e83836Smrgif ${ac_cv_objext+:} false; then :
2324*b1e83836Smrg  $as_echo_n "(cached) " >&6
2325*b1e83836Smrgelse
2326*b1e83836Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327*b1e83836Smrg/* end confdefs.h.  */
2328*b1e83836Smrg
2329*b1e83836Smrgint
2330*b1e83836Smrgmain ()
2331*b1e83836Smrg{
2332*b1e83836Smrg
2333*b1e83836Smrg  ;
2334*b1e83836Smrg  return 0;
2335*b1e83836Smrg}
2336*b1e83836Smrg_ACEOF
2337*b1e83836Smrgrm -f conftest.o conftest.obj
2338*b1e83836Smrgif { { ac_try="$ac_compile"
2339*b1e83836Smrgcase "(($ac_try" in
2340*b1e83836Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341*b1e83836Smrg  *) ac_try_echo=$ac_try;;
2342*b1e83836Smrgesac
2343*b1e83836Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344*b1e83836Smrg$as_echo "$ac_try_echo"; } >&5
2345*b1e83836Smrg  (eval "$ac_compile") 2>&5
2346*b1e83836Smrg  ac_status=$?
2347*b1e83836Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348*b1e83836Smrg  test $ac_status = 0; }; then :
2349*b1e83836Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
2350*b1e83836Smrg  test -f "$ac_file" || continue;
2351*b1e83836Smrg  case $ac_file in
2352*b1e83836Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2353*b1e83836Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2354*b1e83836Smrg       break;;
2355*b1e83836Smrg  esac
2356*b1e83836Smrgdone
2357*b1e83836Smrgelse
2358*b1e83836Smrg  $as_echo "$as_me: failed program was:" >&5
2359*b1e83836Smrgsed 's/^/| /' conftest.$ac_ext >&5
2360*b1e83836Smrg
2361*b1e83836Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362*b1e83836Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363*b1e83836Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile
2364*b1e83836SmrgSee \`config.log' for more details" "$LINENO" 5; }
2365*b1e83836Smrgfi
2366*b1e83836Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
2367*b1e83836Smrgfi
2368*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2369*b1e83836Smrg$as_echo "$ac_cv_objext" >&6; }
2370*b1e83836SmrgOBJEXT=$ac_cv_objext
2371*b1e83836Smrgac_objext=$OBJEXT
2372*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2373*b1e83836Smrg$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2374*b1e83836Smrgif ${ac_cv_cxx_compiler_gnu+:} false; then :
2375*b1e83836Smrg  $as_echo_n "(cached) " >&6
2376*b1e83836Smrgelse
2377*b1e83836Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378*b1e83836Smrg/* end confdefs.h.  */
2379*b1e83836Smrg
2380*b1e83836Smrgint
2381*b1e83836Smrgmain ()
2382*b1e83836Smrg{
2383*b1e83836Smrg#ifndef __GNUC__
2384*b1e83836Smrg       choke me
2385*b1e83836Smrg#endif
2386*b1e83836Smrg
2387*b1e83836Smrg  ;
2388*b1e83836Smrg  return 0;
2389*b1e83836Smrg}
2390*b1e83836Smrg_ACEOF
2391*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2392*b1e83836Smrg  ac_compiler_gnu=yes
2393*b1e83836Smrgelse
2394*b1e83836Smrg  ac_compiler_gnu=no
2395*b1e83836Smrgfi
2396*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397*b1e83836Smrgac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2398*b1e83836Smrg
2399*b1e83836Smrgfi
2400*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2401*b1e83836Smrg$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2402*b1e83836Smrgif test $ac_compiler_gnu = yes; then
2403*b1e83836Smrg  GXX=yes
2404*b1e83836Smrgelse
2405*b1e83836Smrg  GXX=
2406*b1e83836Smrgfi
2407*b1e83836Smrgac_test_CXXFLAGS=${CXXFLAGS+set}
2408*b1e83836Smrgac_save_CXXFLAGS=$CXXFLAGS
2409*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2410*b1e83836Smrg$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2411*b1e83836Smrgif ${ac_cv_prog_cxx_g+:} false; then :
2412*b1e83836Smrg  $as_echo_n "(cached) " >&6
2413*b1e83836Smrgelse
2414*b1e83836Smrg  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2415*b1e83836Smrg   ac_cxx_werror_flag=yes
2416*b1e83836Smrg   ac_cv_prog_cxx_g=no
2417*b1e83836Smrg   CXXFLAGS="-g"
2418*b1e83836Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419*b1e83836Smrg/* end confdefs.h.  */
2420*b1e83836Smrg
2421*b1e83836Smrgint
2422*b1e83836Smrgmain ()
2423*b1e83836Smrg{
2424*b1e83836Smrg
2425*b1e83836Smrg  ;
2426*b1e83836Smrg  return 0;
2427*b1e83836Smrg}
2428*b1e83836Smrg_ACEOF
2429*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2430*b1e83836Smrg  ac_cv_prog_cxx_g=yes
2431*b1e83836Smrgelse
2432*b1e83836Smrg  CXXFLAGS=""
2433*b1e83836Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434*b1e83836Smrg/* end confdefs.h.  */
2435*b1e83836Smrg
2436*b1e83836Smrgint
2437*b1e83836Smrgmain ()
2438*b1e83836Smrg{
2439*b1e83836Smrg
2440*b1e83836Smrg  ;
2441*b1e83836Smrg  return 0;
2442*b1e83836Smrg}
2443*b1e83836Smrg_ACEOF
2444*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2445*b1e83836Smrg
2446*b1e83836Smrgelse
2447*b1e83836Smrg  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2448*b1e83836Smrg	 CXXFLAGS="-g"
2449*b1e83836Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450*b1e83836Smrg/* end confdefs.h.  */
2451*b1e83836Smrg
2452*b1e83836Smrgint
2453*b1e83836Smrgmain ()
2454*b1e83836Smrg{
2455*b1e83836Smrg
2456*b1e83836Smrg  ;
2457*b1e83836Smrg  return 0;
2458*b1e83836Smrg}
2459*b1e83836Smrg_ACEOF
2460*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2461*b1e83836Smrg  ac_cv_prog_cxx_g=yes
2462*b1e83836Smrgfi
2463*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2464*b1e83836Smrgfi
2465*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466*b1e83836Smrgfi
2467*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468*b1e83836Smrg   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2469*b1e83836Smrgfi
2470*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2471*b1e83836Smrg$as_echo "$ac_cv_prog_cxx_g" >&6; }
2472*b1e83836Smrgif test "$ac_test_CXXFLAGS" = set; then
2473*b1e83836Smrg  CXXFLAGS=$ac_save_CXXFLAGS
2474*b1e83836Smrgelif test $ac_cv_prog_cxx_g = yes; then
2475*b1e83836Smrg  if test "$GXX" = yes; then
2476*b1e83836Smrg    CXXFLAGS="-g -O2"
2477*b1e83836Smrg  else
2478*b1e83836Smrg    CXXFLAGS="-g"
2479*b1e83836Smrg  fi
2480*b1e83836Smrgelse
2481*b1e83836Smrg  if test "$GXX" = yes; then
2482*b1e83836Smrg    CXXFLAGS="-O2"
2483*b1e83836Smrg  else
2484*b1e83836Smrg    CXXFLAGS=
2485*b1e83836Smrg  fi
2486*b1e83836Smrgfi
2487*b1e83836Smrgac_ext=cpp
2488*b1e83836Smrgac_cpp='$CXXCPP $CPPFLAGS'
2489*b1e83836Smrgac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2490*b1e83836Smrgac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2491*b1e83836Smrgac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2492*b1e83836Smrg
2493*b1e83836Smrg
2494*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX is for C++11" >&5
2495*b1e83836Smrg$as_echo_n "checking whether $CXX is for C++11... " >&6; }
2496*b1e83836Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497*b1e83836Smrg/* end confdefs.h.  */
2498*b1e83836Smrg
2499*b1e83836Smrg#if __cplusplus != 201103
2500*b1e83836Smrg#error "C++11 is required"
2501*b1e83836Smrg#endif
2502*b1e83836Smrg
2503*b1e83836Smrgint
2504*b1e83836Smrgmain ()
2505*b1e83836Smrg{
2506*b1e83836Smrg
2507*b1e83836Smrg  ;
2508*b1e83836Smrg  return 0;
2509*b1e83836Smrg}
2510*b1e83836Smrg_ACEOF
2511*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2512*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2513*b1e83836Smrg$as_echo "yes" >&6; }
2514*b1e83836Smrgelse
2515*b1e83836Smrg  CXX_ORIG="$CXX"
2516*b1e83836SmrgCXX="$CXX -std=c++11"
2517*b1e83836Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518*b1e83836Smrg/* end confdefs.h.  */
2519*b1e83836Smrg
2520*b1e83836Smrg#if __cplusplus != 201103
2521*b1e83836Smrg#error "C++11 is required"
2522*b1e83836Smrg#endif
2523*b1e83836Smrg
2524*b1e83836Smrgint
2525*b1e83836Smrgmain ()
2526*b1e83836Smrg{
2527*b1e83836Smrg
2528*b1e83836Smrg  ;
2529*b1e83836Smrg  return 0;
2530*b1e83836Smrg}
2531*b1e83836Smrg_ACEOF
2532*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2533*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: adding -std=c++11" >&5
2534*b1e83836Smrg$as_echo "adding -std=c++11" >&6; }
2535*b1e83836Smrgelse
2536*b1e83836Smrg  CXX="$CXX_ORIG"
2537*b1e83836Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538*b1e83836Smrg/* end confdefs.h.  */
2539*b1e83836Smrg
2540*b1e83836Smrg#if __cplusplus > 201103
2541*b1e83836Smrg#error "C++11 is required"
2542*b1e83836Smrg#endif
2543*b1e83836Smrg
2544*b1e83836Smrgint
2545*b1e83836Smrgmain ()
2546*b1e83836Smrg{
2547*b1e83836Smrg
2548*b1e83836Smrg  ;
2549*b1e83836Smrg  return 0;
2550*b1e83836Smrg}
2551*b1e83836Smrg_ACEOF
2552*b1e83836Smrgif ac_fn_cxx_try_compile "$LINENO"; then :
2553*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: > C++11" >&5
2554*b1e83836Smrg$as_echo "> C++11" >&6; }
2555*b1e83836Smrgelse
2556*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557*b1e83836Smrg$as_echo "no" >&6; }
2558*b1e83836Smrgas_fn_error $? "C++11 is required" "$LINENO" 5
2559*b1e83836Smrgfi
2560*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561*b1e83836Smrgfi
2562*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563*b1e83836Smrgunset CXX_ORIG
2564*b1e83836Smrgfi
2565*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2566*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking adding -Wl,--no-undefined to linker" >&5
2567*b1e83836Smrg$as_echo_n "checking adding -Wl,--no-undefined to linker... " >&6; }
2568*b1e83836SmrgORIG_LDFLAGS="$LDFLAGS"
2569*b1e83836SmrgLDFLAGS="$LDFLAGS -Wl,--no-undefined"
2570*b1e83836Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2571*b1e83836Smrg/* end confdefs.h.  */
2572*b1e83836Smrg
2573*b1e83836Smrgint
2574*b1e83836Smrgmain ()
2575*b1e83836Smrg{
2576*b1e83836Smrg
2577*b1e83836Smrg  ;
2578*b1e83836Smrg  return 0;
2579*b1e83836Smrg}
2580*b1e83836Smrg_ACEOF
2581*b1e83836Smrgif ac_fn_cxx_try_link "$LINENO"; then :
2582*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2583*b1e83836Smrg$as_echo "ok" >&6; }
2584*b1e83836Smrgelse
2585*b1e83836Smrg  LDFLAGS="$ORIG_LDFLAGS"
2586*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587*b1e83836Smrg$as_echo "no" >&6; }
2588*b1e83836Smrgfi
2589*b1e83836Smrgrm -f core conftest.err conftest.$ac_objext \
2590*b1e83836Smrg    conftest$ac_exeext conftest.$ac_ext
2591*b1e83836Smrgunset ORIG_LDFLAGS
2592*b1e83836Smrg
2593*b1e83836Smrg# Enable expensive internal checks
2594*b1e83836Smrgis_release=
2595*b1e83836Smrgif test -d $srcdir/../gcc \
2596*b1e83836Smrg   && test -f $srcdir/../gcc/DEV-PHASE \
2597*b1e83836Smrg   && test x"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental; then
2598*b1e83836Smrg  is_release=yes
2599*b1e83836Smrgfi
2600*b1e83836Smrg
2601*b1e83836Smrg# Check whether --enable-checking was given.
2602*b1e83836Smrgif test "${enable_checking+set}" = set; then :
2603*b1e83836Smrg  enableval=$enable_checking; ac_checking_flags="${enableval}"
2604*b1e83836Smrgelse
2605*b1e83836Smrg
2606*b1e83836Smrg# Determine the default checks.
2607*b1e83836Smrgif test x$is_release = x ; then
2608*b1e83836Smrg  ac_checking_flags=yes
2609*b1e83836Smrgelse
2610*b1e83836Smrg  ac_checking_flags=release
2611*b1e83836Smrgfi
2612*b1e83836Smrgfi
2613*b1e83836Smrg
2614*b1e83836SmrgIFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="$IFS,"
2615*b1e83836Smrgfor check in release $ac_checking_flags
2616*b1e83836Smrgdo
2617*b1e83836Smrg	case $check in
2618*b1e83836Smrg	yes|all|misc) ac_checking=1 ;;
2619*b1e83836Smrg	no|none|release) ac_checking= ;;
2620*b1e83836Smrg	# accept
2621*b1e83836Smrg	*) ;;
2622*b1e83836Smrg	esac
2623*b1e83836Smrgdone
2624*b1e83836SmrgIFS="$ac_save_IFS"
2625*b1e83836Smrg
2626*b1e83836Smrgif test x$ac_checking != x ; then
2627*b1e83836Smrg
2628*b1e83836Smrg$as_echo "#define NMS_CHECKING 1" >>confdefs.h
2629*b1e83836Smrg
2630*b1e83836Smrgelse
2631*b1e83836Smrg  $as_echo "#define NMS_CHECKING 0" >>confdefs.h
2632*b1e83836Smrg
2633*b1e83836Smrgfi
2634*b1e83836Smrg
2635*b1e83836Smrg# Enable --enable-host-shared.
2636*b1e83836Smrg# Check whether --enable-host-shared was given.
2637*b1e83836Smrgif test "${enable_host_shared+set}" = set; then :
2638*b1e83836Smrg  enableval=$enable_host_shared; PICFLAG=-fPIC
2639*b1e83836Smrgelse
2640*b1e83836Smrg  PICFLAG=
2641*b1e83836Smrgfi
2642*b1e83836Smrg
2643*b1e83836Smrg
2644*b1e83836Smrg
2645*b1e83836Smrg# Check whether --enable-exceptions was given.
2646*b1e83836Smrgif test "${enable_exceptions+set}" = set; then :
2647*b1e83836Smrg  enableval=$enable_exceptions;
2648*b1e83836Smrgelse
2649*b1e83836Smrg  enable_exceptions="no"
2650*b1e83836Smrgfi
2651*b1e83836Smrg
2652*b1e83836Smrgcase $enable_exceptions in #(
2653*b1e83836Smrg  yes) :
2654*b1e83836Smrg    nms_exceptions=yes ;; #(
2655*b1e83836Smrg  no) :
2656*b1e83836Smrg    nms_exceptions=no ;; #(
2657*b1e83836Smrg  *) :
2658*b1e83836Smrg    as_fn_error $? "unknown exceptions $enable_exceptions" "$LINENO" 5 ;;
2659*b1e83836Smrgesac
2660*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking exceptions" >&5
2661*b1e83836Smrg$as_echo_n "checking exceptions... " >&6; }
2662*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $nms_exceptions" >&5
2663*b1e83836Smrg$as_echo "$nms_exceptions" >&6; }
2664*b1e83836Smrgif test "$nms_exceptions" != no ; then
2665*b1e83836Smrg  EXCEPTIONS=yes
2666*b1e83836Smrgfi
2667*b1e83836Smrg
2668*b1e83836Smrg
2669*b1e83836Smrgif test -n "$ac_tool_prefix"; then
2670*b1e83836Smrg  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2671*b1e83836Smrgset dummy ${ac_tool_prefix}ranlib; ac_word=$2
2672*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673*b1e83836Smrg$as_echo_n "checking for $ac_word... " >&6; }
2674*b1e83836Smrgif ${ac_cv_prog_RANLIB+:} false; then :
2675*b1e83836Smrg  $as_echo_n "(cached) " >&6
2676*b1e83836Smrgelse
2677*b1e83836Smrg  if test -n "$RANLIB"; then
2678*b1e83836Smrg  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2679*b1e83836Smrgelse
2680*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681*b1e83836Smrgfor as_dir in $PATH
2682*b1e83836Smrgdo
2683*b1e83836Smrg  IFS=$as_save_IFS
2684*b1e83836Smrg  test -z "$as_dir" && as_dir=.
2685*b1e83836Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2686*b1e83836Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2687*b1e83836Smrg    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2688*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689*b1e83836Smrg    break 2
2690*b1e83836Smrg  fi
2691*b1e83836Smrgdone
2692*b1e83836Smrg  done
2693*b1e83836SmrgIFS=$as_save_IFS
2694*b1e83836Smrg
2695*b1e83836Smrgfi
2696*b1e83836Smrgfi
2697*b1e83836SmrgRANLIB=$ac_cv_prog_RANLIB
2698*b1e83836Smrgif test -n "$RANLIB"; then
2699*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2700*b1e83836Smrg$as_echo "$RANLIB" >&6; }
2701*b1e83836Smrgelse
2702*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703*b1e83836Smrg$as_echo "no" >&6; }
2704*b1e83836Smrgfi
2705*b1e83836Smrg
2706*b1e83836Smrg
2707*b1e83836Smrgfi
2708*b1e83836Smrgif test -z "$ac_cv_prog_RANLIB"; then
2709*b1e83836Smrg  ac_ct_RANLIB=$RANLIB
2710*b1e83836Smrg  # Extract the first word of "ranlib", so it can be a program name with args.
2711*b1e83836Smrgset dummy ranlib; ac_word=$2
2712*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713*b1e83836Smrg$as_echo_n "checking for $ac_word... " >&6; }
2714*b1e83836Smrgif ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2715*b1e83836Smrg  $as_echo_n "(cached) " >&6
2716*b1e83836Smrgelse
2717*b1e83836Smrg  if test -n "$ac_ct_RANLIB"; then
2718*b1e83836Smrg  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2719*b1e83836Smrgelse
2720*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721*b1e83836Smrgfor as_dir in $PATH
2722*b1e83836Smrgdo
2723*b1e83836Smrg  IFS=$as_save_IFS
2724*b1e83836Smrg  test -z "$as_dir" && as_dir=.
2725*b1e83836Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2726*b1e83836Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2727*b1e83836Smrg    ac_cv_prog_ac_ct_RANLIB="ranlib"
2728*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729*b1e83836Smrg    break 2
2730*b1e83836Smrg  fi
2731*b1e83836Smrgdone
2732*b1e83836Smrg  done
2733*b1e83836SmrgIFS=$as_save_IFS
2734*b1e83836Smrg
2735*b1e83836Smrgfi
2736*b1e83836Smrgfi
2737*b1e83836Smrgac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2738*b1e83836Smrgif test -n "$ac_ct_RANLIB"; then
2739*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2740*b1e83836Smrg$as_echo "$ac_ct_RANLIB" >&6; }
2741*b1e83836Smrgelse
2742*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743*b1e83836Smrg$as_echo "no" >&6; }
2744*b1e83836Smrgfi
2745*b1e83836Smrg
2746*b1e83836Smrg  if test "x$ac_ct_RANLIB" = x; then
2747*b1e83836Smrg    RANLIB=":"
2748*b1e83836Smrg  else
2749*b1e83836Smrg    case $cross_compiling:$ac_tool_warned in
2750*b1e83836Smrgyes:)
2751*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2752*b1e83836Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753*b1e83836Smrgac_tool_warned=yes ;;
2754*b1e83836Smrgesac
2755*b1e83836Smrg    RANLIB=$ac_ct_RANLIB
2756*b1e83836Smrg  fi
2757*b1e83836Smrgelse
2758*b1e83836Smrg  RANLIB="$ac_cv_prog_RANLIB"
2759*b1e83836Smrgfi
2760*b1e83836Smrg
2761*b1e83836Smrgif test -n "$ac_tool_prefix"; then
2762*b1e83836Smrg  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2763*b1e83836Smrgset dummy ${ac_tool_prefix}ar; ac_word=$2
2764*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765*b1e83836Smrg$as_echo_n "checking for $ac_word... " >&6; }
2766*b1e83836Smrgif ${ac_cv_prog_AR+:} false; then :
2767*b1e83836Smrg  $as_echo_n "(cached) " >&6
2768*b1e83836Smrgelse
2769*b1e83836Smrg  if test -n "$AR"; then
2770*b1e83836Smrg  ac_cv_prog_AR="$AR" # Let the user override the test.
2771*b1e83836Smrgelse
2772*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773*b1e83836Smrgfor as_dir in $PATH
2774*b1e83836Smrgdo
2775*b1e83836Smrg  IFS=$as_save_IFS
2776*b1e83836Smrg  test -z "$as_dir" && as_dir=.
2777*b1e83836Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2778*b1e83836Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779*b1e83836Smrg    ac_cv_prog_AR="${ac_tool_prefix}ar"
2780*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781*b1e83836Smrg    break 2
2782*b1e83836Smrg  fi
2783*b1e83836Smrgdone
2784*b1e83836Smrg  done
2785*b1e83836SmrgIFS=$as_save_IFS
2786*b1e83836Smrg
2787*b1e83836Smrgfi
2788*b1e83836Smrgfi
2789*b1e83836SmrgAR=$ac_cv_prog_AR
2790*b1e83836Smrgif test -n "$AR"; then
2791*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2792*b1e83836Smrg$as_echo "$AR" >&6; }
2793*b1e83836Smrgelse
2794*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795*b1e83836Smrg$as_echo "no" >&6; }
2796*b1e83836Smrgfi
2797*b1e83836Smrg
2798*b1e83836Smrg
2799*b1e83836Smrgfi
2800*b1e83836Smrgif test -z "$ac_cv_prog_AR"; then
2801*b1e83836Smrg  ac_ct_AR=$AR
2802*b1e83836Smrg  # Extract the first word of "ar", so it can be a program name with args.
2803*b1e83836Smrgset dummy ar; ac_word=$2
2804*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805*b1e83836Smrg$as_echo_n "checking for $ac_word... " >&6; }
2806*b1e83836Smrgif ${ac_cv_prog_ac_ct_AR+:} false; then :
2807*b1e83836Smrg  $as_echo_n "(cached) " >&6
2808*b1e83836Smrgelse
2809*b1e83836Smrg  if test -n "$ac_ct_AR"; then
2810*b1e83836Smrg  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2811*b1e83836Smrgelse
2812*b1e83836Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813*b1e83836Smrgfor as_dir in $PATH
2814*b1e83836Smrgdo
2815*b1e83836Smrg  IFS=$as_save_IFS
2816*b1e83836Smrg  test -z "$as_dir" && as_dir=.
2817*b1e83836Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2818*b1e83836Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2819*b1e83836Smrg    ac_cv_prog_ac_ct_AR="ar"
2820*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821*b1e83836Smrg    break 2
2822*b1e83836Smrg  fi
2823*b1e83836Smrgdone
2824*b1e83836Smrg  done
2825*b1e83836SmrgIFS=$as_save_IFS
2826*b1e83836Smrg
2827*b1e83836Smrgfi
2828*b1e83836Smrgfi
2829*b1e83836Smrgac_ct_AR=$ac_cv_prog_ac_ct_AR
2830*b1e83836Smrgif test -n "$ac_ct_AR"; then
2831*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2832*b1e83836Smrg$as_echo "$ac_ct_AR" >&6; }
2833*b1e83836Smrgelse
2834*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835*b1e83836Smrg$as_echo "no" >&6; }
2836*b1e83836Smrgfi
2837*b1e83836Smrg
2838*b1e83836Smrg  if test "x$ac_ct_AR" = x; then
2839*b1e83836Smrg    AR=""
2840*b1e83836Smrg  else
2841*b1e83836Smrg    case $cross_compiling:$ac_tool_warned in
2842*b1e83836Smrgyes:)
2843*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844*b1e83836Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845*b1e83836Smrgac_tool_warned=yes ;;
2846*b1e83836Smrgesac
2847*b1e83836Smrg    AR=$ac_ct_AR
2848*b1e83836Smrg  fi
2849*b1e83836Smrgelse
2850*b1e83836Smrg  AR="$ac_cv_prog_AR"
2851*b1e83836Smrgfi
2852*b1e83836Smrg
2853*b1e83836Smrg
2854*b1e83836Smrg
2855*b1e83836Smrgac_config_headers="$ac_config_headers config.h"
2856*b1e83836Smrg
2857*b1e83836Smrg
2858*b1e83836Smrgac_config_files="$ac_config_files Makefile"
2859*b1e83836Smrg
2860*b1e83836Smrgconfigure_args=$ac_configure_args
2861*b1e83836Smrg
2862*b1e83836Smrg
2863*b1e83836Smrgcat >confcache <<\_ACEOF
2864*b1e83836Smrg# This file is a shell script that caches the results of configure
2865*b1e83836Smrg# tests run on this system so they can be shared between configure
2866*b1e83836Smrg# scripts and configure runs, see configure's option --config-cache.
2867*b1e83836Smrg# It is not useful on other systems.  If it contains results you don't
2868*b1e83836Smrg# want to keep, you may remove or edit it.
2869*b1e83836Smrg#
2870*b1e83836Smrg# config.status only pays attention to the cache file if you give it
2871*b1e83836Smrg# the --recheck option to rerun configure.
2872*b1e83836Smrg#
2873*b1e83836Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
2874*b1e83836Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
2875*b1e83836Smrg# following values.
2876*b1e83836Smrg
2877*b1e83836Smrg_ACEOF
2878*b1e83836Smrg
2879*b1e83836Smrg# The following way of writing the cache mishandles newlines in values,
2880*b1e83836Smrg# but we know of no workaround that is simple, portable, and efficient.
2881*b1e83836Smrg# So, we kill variables containing newlines.
2882*b1e83836Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
2883*b1e83836Smrg# and sets the high bit in the cache file unless we assign to the vars.
2884*b1e83836Smrg(
2885*b1e83836Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2886*b1e83836Smrg    eval ac_val=\$$ac_var
2887*b1e83836Smrg    case $ac_val in #(
2888*b1e83836Smrg    *${as_nl}*)
2889*b1e83836Smrg      case $ac_var in #(
2890*b1e83836Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2891*b1e83836Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2892*b1e83836Smrg      esac
2893*b1e83836Smrg      case $ac_var in #(
2894*b1e83836Smrg      _ | IFS | as_nl) ;; #(
2895*b1e83836Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2896*b1e83836Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
2897*b1e83836Smrg      esac ;;
2898*b1e83836Smrg    esac
2899*b1e83836Smrg  done
2900*b1e83836Smrg
2901*b1e83836Smrg  (set) 2>&1 |
2902*b1e83836Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2903*b1e83836Smrg    *${as_nl}ac_space=\ *)
2904*b1e83836Smrg      # `set' does not quote correctly, so add quotes: double-quote
2905*b1e83836Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
2906*b1e83836Smrg      sed -n \
2907*b1e83836Smrg	"s/'/'\\\\''/g;
2908*b1e83836Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2909*b1e83836Smrg      ;; #(
2910*b1e83836Smrg    *)
2911*b1e83836Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
2912*b1e83836Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2913*b1e83836Smrg      ;;
2914*b1e83836Smrg    esac |
2915*b1e83836Smrg    sort
2916*b1e83836Smrg) |
2917*b1e83836Smrg  sed '
2918*b1e83836Smrg     /^ac_cv_env_/b end
2919*b1e83836Smrg     t clear
2920*b1e83836Smrg     :clear
2921*b1e83836Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2922*b1e83836Smrg     t end
2923*b1e83836Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2924*b1e83836Smrg     :end' >>confcache
2925*b1e83836Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2926*b1e83836Smrg  if test -w "$cache_file"; then
2927*b1e83836Smrg    if test "x$cache_file" != "x/dev/null"; then
2928*b1e83836Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2929*b1e83836Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
2930*b1e83836Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
2931*b1e83836Smrg	cat confcache >"$cache_file"
2932*b1e83836Smrg      else
2933*b1e83836Smrg        case $cache_file in #(
2934*b1e83836Smrg        */* | ?:*)
2935*b1e83836Smrg	  mv -f confcache "$cache_file"$$ &&
2936*b1e83836Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2937*b1e83836Smrg        *)
2938*b1e83836Smrg	  mv -f confcache "$cache_file" ;;
2939*b1e83836Smrg	esac
2940*b1e83836Smrg      fi
2941*b1e83836Smrg    fi
2942*b1e83836Smrg  else
2943*b1e83836Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2944*b1e83836Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2945*b1e83836Smrg  fi
2946*b1e83836Smrgfi
2947*b1e83836Smrgrm -f confcache
2948*b1e83836Smrg
2949*b1e83836Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
2950*b1e83836Smrg# Let make expand exec_prefix.
2951*b1e83836Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2952*b1e83836Smrg
2953*b1e83836SmrgDEFS=-DHAVE_CONFIG_H
2954*b1e83836Smrg
2955*b1e83836Smrgac_libobjs=
2956*b1e83836Smrgac_ltlibobjs=
2957*b1e83836SmrgU=
2958*b1e83836Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2959*b1e83836Smrg  # 1. Remove the extension, and $U if already installed.
2960*b1e83836Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2961*b1e83836Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2962*b1e83836Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2963*b1e83836Smrg  #    will be set to the directory where LIBOBJS objects are built.
2964*b1e83836Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2965*b1e83836Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2966*b1e83836Smrgdone
2967*b1e83836SmrgLIBOBJS=$ac_libobjs
2968*b1e83836Smrg
2969*b1e83836SmrgLTLIBOBJS=$ac_ltlibobjs
2970*b1e83836Smrg
2971*b1e83836Smrg
2972*b1e83836Smrg
2973*b1e83836Smrg: "${CONFIG_STATUS=./config.status}"
2974*b1e83836Smrgac_write_fail=0
2975*b1e83836Smrgac_clean_files_save=$ac_clean_files
2976*b1e83836Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
2977*b1e83836Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2978*b1e83836Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2979*b1e83836Smrgas_write_fail=0
2980*b1e83836Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2981*b1e83836Smrg#! $SHELL
2982*b1e83836Smrg# Generated by $as_me.
2983*b1e83836Smrg# Run this file to recreate the current configuration.
2984*b1e83836Smrg# Compiler output produced by configure, useful for debugging
2985*b1e83836Smrg# configure, is in config.log if it exists.
2986*b1e83836Smrg
2987*b1e83836Smrgdebug=false
2988*b1e83836Smrgac_cs_recheck=false
2989*b1e83836Smrgac_cs_silent=false
2990*b1e83836Smrg
2991*b1e83836SmrgSHELL=\${CONFIG_SHELL-$SHELL}
2992*b1e83836Smrgexport SHELL
2993*b1e83836Smrg_ASEOF
2994*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2995*b1e83836Smrg## -------------------- ##
2996*b1e83836Smrg## M4sh Initialization. ##
2997*b1e83836Smrg## -------------------- ##
2998*b1e83836Smrg
2999*b1e83836Smrg# Be more Bourne compatible
3000*b1e83836SmrgDUALCASE=1; export DUALCASE # for MKS sh
3001*b1e83836Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3002*b1e83836Smrg  emulate sh
3003*b1e83836Smrg  NULLCMD=:
3004*b1e83836Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3005*b1e83836Smrg  # is contrary to our usage.  Disable this feature.
3006*b1e83836Smrg  alias -g '${1+"$@"}'='"$@"'
3007*b1e83836Smrg  setopt NO_GLOB_SUBST
3008*b1e83836Smrgelse
3009*b1e83836Smrg  case `(set -o) 2>/dev/null` in #(
3010*b1e83836Smrg  *posix*) :
3011*b1e83836Smrg    set -o posix ;; #(
3012*b1e83836Smrg  *) :
3013*b1e83836Smrg     ;;
3014*b1e83836Smrgesac
3015*b1e83836Smrgfi
3016*b1e83836Smrg
3017*b1e83836Smrg
3018*b1e83836Smrgas_nl='
3019*b1e83836Smrg'
3020*b1e83836Smrgexport as_nl
3021*b1e83836Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
3022*b1e83836Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3023*b1e83836Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3024*b1e83836Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3025*b1e83836Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
3026*b1e83836Smrg# but without wasting forks for bash or zsh.
3027*b1e83836Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
3028*b1e83836Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3029*b1e83836Smrg  as_echo='print -r --'
3030*b1e83836Smrg  as_echo_n='print -rn --'
3031*b1e83836Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3032*b1e83836Smrg  as_echo='printf %s\n'
3033*b1e83836Smrg  as_echo_n='printf %s'
3034*b1e83836Smrgelse
3035*b1e83836Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3036*b1e83836Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3037*b1e83836Smrg    as_echo_n='/usr/ucb/echo -n'
3038*b1e83836Smrg  else
3039*b1e83836Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3040*b1e83836Smrg    as_echo_n_body='eval
3041*b1e83836Smrg      arg=$1;
3042*b1e83836Smrg      case $arg in #(
3043*b1e83836Smrg      *"$as_nl"*)
3044*b1e83836Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
3045*b1e83836Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3046*b1e83836Smrg      esac;
3047*b1e83836Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3048*b1e83836Smrg    '
3049*b1e83836Smrg    export as_echo_n_body
3050*b1e83836Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
3051*b1e83836Smrg  fi
3052*b1e83836Smrg  export as_echo_body
3053*b1e83836Smrg  as_echo='sh -c $as_echo_body as_echo'
3054*b1e83836Smrgfi
3055*b1e83836Smrg
3056*b1e83836Smrg# The user is always right.
3057*b1e83836Smrgif test "${PATH_SEPARATOR+set}" != set; then
3058*b1e83836Smrg  PATH_SEPARATOR=:
3059*b1e83836Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3060*b1e83836Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3061*b1e83836Smrg      PATH_SEPARATOR=';'
3062*b1e83836Smrg  }
3063*b1e83836Smrgfi
3064*b1e83836Smrg
3065*b1e83836Smrg
3066*b1e83836Smrg# IFS
3067*b1e83836Smrg# We need space, tab and new line, in precisely that order.  Quoting is
3068*b1e83836Smrg# there to prevent editors from complaining about space-tab.
3069*b1e83836Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3070*b1e83836Smrg# splitting by setting IFS to empty value.)
3071*b1e83836SmrgIFS=" ""	$as_nl"
3072*b1e83836Smrg
3073*b1e83836Smrg# Find who we are.  Look in the path if we contain no directory separator.
3074*b1e83836Smrgas_myself=
3075*b1e83836Smrgcase $0 in #((
3076*b1e83836Smrg  *[\\/]* ) as_myself=$0 ;;
3077*b1e83836Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078*b1e83836Smrgfor as_dir in $PATH
3079*b1e83836Smrgdo
3080*b1e83836Smrg  IFS=$as_save_IFS
3081*b1e83836Smrg  test -z "$as_dir" && as_dir=.
3082*b1e83836Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3083*b1e83836Smrg  done
3084*b1e83836SmrgIFS=$as_save_IFS
3085*b1e83836Smrg
3086*b1e83836Smrg     ;;
3087*b1e83836Smrgesac
3088*b1e83836Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
3089*b1e83836Smrg# in which case we are not to be found in the path.
3090*b1e83836Smrgif test "x$as_myself" = x; then
3091*b1e83836Smrg  as_myself=$0
3092*b1e83836Smrgfi
3093*b1e83836Smrgif test ! -f "$as_myself"; then
3094*b1e83836Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3095*b1e83836Smrg  exit 1
3096*b1e83836Smrgfi
3097*b1e83836Smrg
3098*b1e83836Smrg# Unset variables that we do not need and which cause bugs (e.g. in
3099*b1e83836Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3100*b1e83836Smrg# suppresses any "Segmentation fault" message there.  '((' could
3101*b1e83836Smrg# trigger a bug in pdksh 5.2.14.
3102*b1e83836Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
3103*b1e83836Smrgdo eval test x\${$as_var+set} = xset \
3104*b1e83836Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3105*b1e83836Smrgdone
3106*b1e83836SmrgPS1='$ '
3107*b1e83836SmrgPS2='> '
3108*b1e83836SmrgPS4='+ '
3109*b1e83836Smrg
3110*b1e83836Smrg# NLS nuisances.
3111*b1e83836SmrgLC_ALL=C
3112*b1e83836Smrgexport LC_ALL
3113*b1e83836SmrgLANGUAGE=C
3114*b1e83836Smrgexport LANGUAGE
3115*b1e83836Smrg
3116*b1e83836Smrg# CDPATH.
3117*b1e83836Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3118*b1e83836Smrg
3119*b1e83836Smrg
3120*b1e83836Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3121*b1e83836Smrg# ----------------------------------------
3122*b1e83836Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3123*b1e83836Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3124*b1e83836Smrg# script with STATUS, using 1 if that was 0.
3125*b1e83836Smrgas_fn_error ()
3126*b1e83836Smrg{
3127*b1e83836Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
3128*b1e83836Smrg  if test "$4"; then
3129*b1e83836Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3130*b1e83836Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3131*b1e83836Smrg  fi
3132*b1e83836Smrg  $as_echo "$as_me: error: $2" >&2
3133*b1e83836Smrg  as_fn_exit $as_status
3134*b1e83836Smrg} # as_fn_error
3135*b1e83836Smrg
3136*b1e83836Smrg
3137*b1e83836Smrg# as_fn_set_status STATUS
3138*b1e83836Smrg# -----------------------
3139*b1e83836Smrg# Set $? to STATUS, without forking.
3140*b1e83836Smrgas_fn_set_status ()
3141*b1e83836Smrg{
3142*b1e83836Smrg  return $1
3143*b1e83836Smrg} # as_fn_set_status
3144*b1e83836Smrg
3145*b1e83836Smrg# as_fn_exit STATUS
3146*b1e83836Smrg# -----------------
3147*b1e83836Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3148*b1e83836Smrgas_fn_exit ()
3149*b1e83836Smrg{
3150*b1e83836Smrg  set +e
3151*b1e83836Smrg  as_fn_set_status $1
3152*b1e83836Smrg  exit $1
3153*b1e83836Smrg} # as_fn_exit
3154*b1e83836Smrg
3155*b1e83836Smrg# as_fn_unset VAR
3156*b1e83836Smrg# ---------------
3157*b1e83836Smrg# Portably unset VAR.
3158*b1e83836Smrgas_fn_unset ()
3159*b1e83836Smrg{
3160*b1e83836Smrg  { eval $1=; unset $1;}
3161*b1e83836Smrg}
3162*b1e83836Smrgas_unset=as_fn_unset
3163*b1e83836Smrg# as_fn_append VAR VALUE
3164*b1e83836Smrg# ----------------------
3165*b1e83836Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3166*b1e83836Smrg# advantage of any shell optimizations that allow amortized linear growth over
3167*b1e83836Smrg# repeated appends, instead of the typical quadratic growth present in naive
3168*b1e83836Smrg# implementations.
3169*b1e83836Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3170*b1e83836Smrg  eval 'as_fn_append ()
3171*b1e83836Smrg  {
3172*b1e83836Smrg    eval $1+=\$2
3173*b1e83836Smrg  }'
3174*b1e83836Smrgelse
3175*b1e83836Smrg  as_fn_append ()
3176*b1e83836Smrg  {
3177*b1e83836Smrg    eval $1=\$$1\$2
3178*b1e83836Smrg  }
3179*b1e83836Smrgfi # as_fn_append
3180*b1e83836Smrg
3181*b1e83836Smrg# as_fn_arith ARG...
3182*b1e83836Smrg# ------------------
3183*b1e83836Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3184*b1e83836Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3185*b1e83836Smrg# must be portable across $(()) and expr.
3186*b1e83836Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3187*b1e83836Smrg  eval 'as_fn_arith ()
3188*b1e83836Smrg  {
3189*b1e83836Smrg    as_val=$(( $* ))
3190*b1e83836Smrg  }'
3191*b1e83836Smrgelse
3192*b1e83836Smrg  as_fn_arith ()
3193*b1e83836Smrg  {
3194*b1e83836Smrg    as_val=`expr "$@" || test $? -eq 1`
3195*b1e83836Smrg  }
3196*b1e83836Smrgfi # as_fn_arith
3197*b1e83836Smrg
3198*b1e83836Smrg
3199*b1e83836Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
3200*b1e83836Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3201*b1e83836Smrg  as_expr=expr
3202*b1e83836Smrgelse
3203*b1e83836Smrg  as_expr=false
3204*b1e83836Smrgfi
3205*b1e83836Smrg
3206*b1e83836Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3207*b1e83836Smrg  as_basename=basename
3208*b1e83836Smrgelse
3209*b1e83836Smrg  as_basename=false
3210*b1e83836Smrgfi
3211*b1e83836Smrg
3212*b1e83836Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3213*b1e83836Smrg  as_dirname=dirname
3214*b1e83836Smrgelse
3215*b1e83836Smrg  as_dirname=false
3216*b1e83836Smrgfi
3217*b1e83836Smrg
3218*b1e83836Smrgas_me=`$as_basename -- "$0" ||
3219*b1e83836Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3220*b1e83836Smrg	 X"$0" : 'X\(//\)$' \| \
3221*b1e83836Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3222*b1e83836Smrg$as_echo X/"$0" |
3223*b1e83836Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
3224*b1e83836Smrg	    s//\1/
3225*b1e83836Smrg	    q
3226*b1e83836Smrg	  }
3227*b1e83836Smrg	  /^X\/\(\/\/\)$/{
3228*b1e83836Smrg	    s//\1/
3229*b1e83836Smrg	    q
3230*b1e83836Smrg	  }
3231*b1e83836Smrg	  /^X\/\(\/\).*/{
3232*b1e83836Smrg	    s//\1/
3233*b1e83836Smrg	    q
3234*b1e83836Smrg	  }
3235*b1e83836Smrg	  s/.*/./; q'`
3236*b1e83836Smrg
3237*b1e83836Smrg# Avoid depending upon Character Ranges.
3238*b1e83836Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3239*b1e83836Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3240*b1e83836Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3241*b1e83836Smrgas_cr_digits='0123456789'
3242*b1e83836Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
3243*b1e83836Smrg
3244*b1e83836SmrgECHO_C= ECHO_N= ECHO_T=
3245*b1e83836Smrgcase `echo -n x` in #(((((
3246*b1e83836Smrg-n*)
3247*b1e83836Smrg  case `echo 'xy\c'` in
3248*b1e83836Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3249*b1e83836Smrg  xy)  ECHO_C='\c';;
3250*b1e83836Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3251*b1e83836Smrg       ECHO_T='	';;
3252*b1e83836Smrg  esac;;
3253*b1e83836Smrg*)
3254*b1e83836Smrg  ECHO_N='-n';;
3255*b1e83836Smrgesac
3256*b1e83836Smrg
3257*b1e83836Smrgrm -f conf$$ conf$$.exe conf$$.file
3258*b1e83836Smrgif test -d conf$$.dir; then
3259*b1e83836Smrg  rm -f conf$$.dir/conf$$.file
3260*b1e83836Smrgelse
3261*b1e83836Smrg  rm -f conf$$.dir
3262*b1e83836Smrg  mkdir conf$$.dir 2>/dev/null
3263*b1e83836Smrgfi
3264*b1e83836Smrgif (echo >conf$$.file) 2>/dev/null; then
3265*b1e83836Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
3266*b1e83836Smrg    as_ln_s='ln -s'
3267*b1e83836Smrg    # ... but there are two gotchas:
3268*b1e83836Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3269*b1e83836Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3270*b1e83836Smrg    # In both cases, we have to default to `cp -pR'.
3271*b1e83836Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3272*b1e83836Smrg      as_ln_s='cp -pR'
3273*b1e83836Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
3274*b1e83836Smrg    as_ln_s=ln
3275*b1e83836Smrg  else
3276*b1e83836Smrg    as_ln_s='cp -pR'
3277*b1e83836Smrg  fi
3278*b1e83836Smrgelse
3279*b1e83836Smrg  as_ln_s='cp -pR'
3280*b1e83836Smrgfi
3281*b1e83836Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3282*b1e83836Smrgrmdir conf$$.dir 2>/dev/null
3283*b1e83836Smrg
3284*b1e83836Smrg
3285*b1e83836Smrg# as_fn_mkdir_p
3286*b1e83836Smrg# -------------
3287*b1e83836Smrg# Create "$as_dir" as a directory, including parents if necessary.
3288*b1e83836Smrgas_fn_mkdir_p ()
3289*b1e83836Smrg{
3290*b1e83836Smrg
3291*b1e83836Smrg  case $as_dir in #(
3292*b1e83836Smrg  -*) as_dir=./$as_dir;;
3293*b1e83836Smrg  esac
3294*b1e83836Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
3295*b1e83836Smrg    as_dirs=
3296*b1e83836Smrg    while :; do
3297*b1e83836Smrg      case $as_dir in #(
3298*b1e83836Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3299*b1e83836Smrg      *) as_qdir=$as_dir;;
3300*b1e83836Smrg      esac
3301*b1e83836Smrg      as_dirs="'$as_qdir' $as_dirs"
3302*b1e83836Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3303*b1e83836Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3304*b1e83836Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3305*b1e83836Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3306*b1e83836Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3307*b1e83836Smrg$as_echo X"$as_dir" |
3308*b1e83836Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3309*b1e83836Smrg	    s//\1/
3310*b1e83836Smrg	    q
3311*b1e83836Smrg	  }
3312*b1e83836Smrg	  /^X\(\/\/\)[^/].*/{
3313*b1e83836Smrg	    s//\1/
3314*b1e83836Smrg	    q
3315*b1e83836Smrg	  }
3316*b1e83836Smrg	  /^X\(\/\/\)$/{
3317*b1e83836Smrg	    s//\1/
3318*b1e83836Smrg	    q
3319*b1e83836Smrg	  }
3320*b1e83836Smrg	  /^X\(\/\).*/{
3321*b1e83836Smrg	    s//\1/
3322*b1e83836Smrg	    q
3323*b1e83836Smrg	  }
3324*b1e83836Smrg	  s/.*/./; q'`
3325*b1e83836Smrg      test -d "$as_dir" && break
3326*b1e83836Smrg    done
3327*b1e83836Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3328*b1e83836Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3329*b1e83836Smrg
3330*b1e83836Smrg
3331*b1e83836Smrg} # as_fn_mkdir_p
3332*b1e83836Smrgif mkdir -p . 2>/dev/null; then
3333*b1e83836Smrg  as_mkdir_p='mkdir -p "$as_dir"'
3334*b1e83836Smrgelse
3335*b1e83836Smrg  test -d ./-p && rmdir ./-p
3336*b1e83836Smrg  as_mkdir_p=false
3337*b1e83836Smrgfi
3338*b1e83836Smrg
3339*b1e83836Smrg
3340*b1e83836Smrg# as_fn_executable_p FILE
3341*b1e83836Smrg# -----------------------
3342*b1e83836Smrg# Test if FILE is an executable regular file.
3343*b1e83836Smrgas_fn_executable_p ()
3344*b1e83836Smrg{
3345*b1e83836Smrg  test -f "$1" && test -x "$1"
3346*b1e83836Smrg} # as_fn_executable_p
3347*b1e83836Smrgas_test_x='test -x'
3348*b1e83836Smrgas_executable_p=as_fn_executable_p
3349*b1e83836Smrg
3350*b1e83836Smrg# Sed expression to map a string onto a valid CPP name.
3351*b1e83836Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3352*b1e83836Smrg
3353*b1e83836Smrg# Sed expression to map a string onto a valid variable name.
3354*b1e83836Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3355*b1e83836Smrg
3356*b1e83836Smrg
3357*b1e83836Smrgexec 6>&1
3358*b1e83836Smrg## ----------------------------------- ##
3359*b1e83836Smrg## Main body of $CONFIG_STATUS script. ##
3360*b1e83836Smrg## ----------------------------------- ##
3361*b1e83836Smrg_ASEOF
3362*b1e83836Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3363*b1e83836Smrg
3364*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3365*b1e83836Smrg# Save the log message, to keep $0 and so on meaningful, and to
3366*b1e83836Smrg# report actual input values of CONFIG_FILES etc. instead of their
3367*b1e83836Smrg# values after options handling.
3368*b1e83836Smrgac_log="
3369*b1e83836SmrgThis file was extended by codylib $as_me 0.0, which was
3370*b1e83836Smrggenerated by GNU Autoconf 2.69.  Invocation command line was
3371*b1e83836Smrg
3372*b1e83836Smrg  CONFIG_FILES    = $CONFIG_FILES
3373*b1e83836Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3374*b1e83836Smrg  CONFIG_LINKS    = $CONFIG_LINKS
3375*b1e83836Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3376*b1e83836Smrg  $ $0 $@
3377*b1e83836Smrg
3378*b1e83836Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
3379*b1e83836Smrg"
3380*b1e83836Smrg
3381*b1e83836Smrg_ACEOF
3382*b1e83836Smrg
3383*b1e83836Smrgcase $ac_config_files in *"
3384*b1e83836Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
3385*b1e83836Smrgesac
3386*b1e83836Smrg
3387*b1e83836Smrgcase $ac_config_headers in *"
3388*b1e83836Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3389*b1e83836Smrgesac
3390*b1e83836Smrg
3391*b1e83836Smrg
3392*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3393*b1e83836Smrg# Files that config.status was made for.
3394*b1e83836Smrgconfig_files="$ac_config_files"
3395*b1e83836Smrgconfig_headers="$ac_config_headers"
3396*b1e83836Smrg
3397*b1e83836Smrg_ACEOF
3398*b1e83836Smrg
3399*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3400*b1e83836Smrgac_cs_usage="\
3401*b1e83836Smrg\`$as_me' instantiates files and other configuration actions
3402*b1e83836Smrgfrom templates according to the current configuration.  Unless the files
3403*b1e83836Smrgand actions are specified as TAGs, all are instantiated by default.
3404*b1e83836Smrg
3405*b1e83836SmrgUsage: $0 [OPTION]... [TAG]...
3406*b1e83836Smrg
3407*b1e83836Smrg  -h, --help       print this help, then exit
3408*b1e83836Smrg  -V, --version    print version number and configuration settings, then exit
3409*b1e83836Smrg      --config     print configuration, then exit
3410*b1e83836Smrg  -q, --quiet, --silent
3411*b1e83836Smrg                   do not print progress messages
3412*b1e83836Smrg  -d, --debug      don't remove temporary files
3413*b1e83836Smrg      --recheck    update $as_me by reconfiguring in the same conditions
3414*b1e83836Smrg      --file=FILE[:TEMPLATE]
3415*b1e83836Smrg                   instantiate the configuration file FILE
3416*b1e83836Smrg      --header=FILE[:TEMPLATE]
3417*b1e83836Smrg                   instantiate the configuration header FILE
3418*b1e83836Smrg
3419*b1e83836SmrgConfiguration files:
3420*b1e83836Smrg$config_files
3421*b1e83836Smrg
3422*b1e83836SmrgConfiguration headers:
3423*b1e83836Smrg$config_headers
3424*b1e83836Smrg
3425*b1e83836SmrgReport bugs to <github.com/urnathan/libcody>."
3426*b1e83836Smrg
3427*b1e83836Smrg_ACEOF
3428*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3429*b1e83836Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3430*b1e83836Smrgac_cs_version="\\
3431*b1e83836Smrgcodylib config.status 0.0
3432*b1e83836Smrgconfigured by $0, generated by GNU Autoconf 2.69,
3433*b1e83836Smrg  with options \\"\$ac_cs_config\\"
3434*b1e83836Smrg
3435*b1e83836SmrgCopyright (C) 2012 Free Software Foundation, Inc.
3436*b1e83836SmrgThis config.status script is free software; the Free Software Foundation
3437*b1e83836Smrggives unlimited permission to copy, distribute and modify it."
3438*b1e83836Smrg
3439*b1e83836Smrgac_pwd='$ac_pwd'
3440*b1e83836Smrgsrcdir='$srcdir'
3441*b1e83836Smrgtest -n "\$AWK" || AWK=awk
3442*b1e83836Smrg_ACEOF
3443*b1e83836Smrg
3444*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3445*b1e83836Smrg# The default lists apply if the user does not specify any file.
3446*b1e83836Smrgac_need_defaults=:
3447*b1e83836Smrgwhile test $# != 0
3448*b1e83836Smrgdo
3449*b1e83836Smrg  case $1 in
3450*b1e83836Smrg  --*=?*)
3451*b1e83836Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3452*b1e83836Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3453*b1e83836Smrg    ac_shift=:
3454*b1e83836Smrg    ;;
3455*b1e83836Smrg  --*=)
3456*b1e83836Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3457*b1e83836Smrg    ac_optarg=
3458*b1e83836Smrg    ac_shift=:
3459*b1e83836Smrg    ;;
3460*b1e83836Smrg  *)
3461*b1e83836Smrg    ac_option=$1
3462*b1e83836Smrg    ac_optarg=$2
3463*b1e83836Smrg    ac_shift=shift
3464*b1e83836Smrg    ;;
3465*b1e83836Smrg  esac
3466*b1e83836Smrg
3467*b1e83836Smrg  case $ac_option in
3468*b1e83836Smrg  # Handling of the options.
3469*b1e83836Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3470*b1e83836Smrg    ac_cs_recheck=: ;;
3471*b1e83836Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3472*b1e83836Smrg    $as_echo "$ac_cs_version"; exit ;;
3473*b1e83836Smrg  --config | --confi | --conf | --con | --co | --c )
3474*b1e83836Smrg    $as_echo "$ac_cs_config"; exit ;;
3475*b1e83836Smrg  --debug | --debu | --deb | --de | --d | -d )
3476*b1e83836Smrg    debug=: ;;
3477*b1e83836Smrg  --file | --fil | --fi | --f )
3478*b1e83836Smrg    $ac_shift
3479*b1e83836Smrg    case $ac_optarg in
3480*b1e83836Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3481*b1e83836Smrg    '') as_fn_error $? "missing file argument" ;;
3482*b1e83836Smrg    esac
3483*b1e83836Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
3484*b1e83836Smrg    ac_need_defaults=false;;
3485*b1e83836Smrg  --header | --heade | --head | --hea )
3486*b1e83836Smrg    $ac_shift
3487*b1e83836Smrg    case $ac_optarg in
3488*b1e83836Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3489*b1e83836Smrg    esac
3490*b1e83836Smrg    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3491*b1e83836Smrg    ac_need_defaults=false;;
3492*b1e83836Smrg  --he | --h)
3493*b1e83836Smrg    # Conflict between --help and --header
3494*b1e83836Smrg    as_fn_error $? "ambiguous option: \`$1'
3495*b1e83836SmrgTry \`$0 --help' for more information.";;
3496*b1e83836Smrg  --help | --hel | -h )
3497*b1e83836Smrg    $as_echo "$ac_cs_usage"; exit ;;
3498*b1e83836Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3499*b1e83836Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3500*b1e83836Smrg    ac_cs_silent=: ;;
3501*b1e83836Smrg
3502*b1e83836Smrg  # This is an error.
3503*b1e83836Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
3504*b1e83836SmrgTry \`$0 --help' for more information." ;;
3505*b1e83836Smrg
3506*b1e83836Smrg  *) as_fn_append ac_config_targets " $1"
3507*b1e83836Smrg     ac_need_defaults=false ;;
3508*b1e83836Smrg
3509*b1e83836Smrg  esac
3510*b1e83836Smrg  shift
3511*b1e83836Smrgdone
3512*b1e83836Smrg
3513*b1e83836Smrgac_configure_extra_args=
3514*b1e83836Smrg
3515*b1e83836Smrgif $ac_cs_silent; then
3516*b1e83836Smrg  exec 6>/dev/null
3517*b1e83836Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
3518*b1e83836Smrgfi
3519*b1e83836Smrg
3520*b1e83836Smrg_ACEOF
3521*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3522*b1e83836Smrgif \$ac_cs_recheck; then
3523*b1e83836Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3524*b1e83836Smrg  shift
3525*b1e83836Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3526*b1e83836Smrg  CONFIG_SHELL='$SHELL'
3527*b1e83836Smrg  export CONFIG_SHELL
3528*b1e83836Smrg  exec "\$@"
3529*b1e83836Smrgfi
3530*b1e83836Smrg
3531*b1e83836Smrg_ACEOF
3532*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3533*b1e83836Smrgexec 5>>config.log
3534*b1e83836Smrg{
3535*b1e83836Smrg  echo
3536*b1e83836Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3537*b1e83836Smrg## Running $as_me. ##
3538*b1e83836Smrg_ASBOX
3539*b1e83836Smrg  $as_echo "$ac_log"
3540*b1e83836Smrg} >&5
3541*b1e83836Smrg
3542*b1e83836Smrg_ACEOF
3543*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3544*b1e83836Smrg_ACEOF
3545*b1e83836Smrg
3546*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3547*b1e83836Smrg
3548*b1e83836Smrg# Handling of arguments.
3549*b1e83836Smrgfor ac_config_target in $ac_config_targets
3550*b1e83836Smrgdo
3551*b1e83836Smrg  case $ac_config_target in
3552*b1e83836Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3553*b1e83836Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3554*b1e83836Smrg
3555*b1e83836Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3556*b1e83836Smrg  esac
3557*b1e83836Smrgdone
3558*b1e83836Smrg
3559*b1e83836Smrg
3560*b1e83836Smrg# If the user did not use the arguments to specify the items to instantiate,
3561*b1e83836Smrg# then the envvar interface is used.  Set only those that are not.
3562*b1e83836Smrg# We use the long form for the default assignment because of an extremely
3563*b1e83836Smrg# bizarre bug on SunOS 4.1.3.
3564*b1e83836Smrgif $ac_need_defaults; then
3565*b1e83836Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3566*b1e83836Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3567*b1e83836Smrgfi
3568*b1e83836Smrg
3569*b1e83836Smrg# Have a temporary directory for convenience.  Make it in the build tree
3570*b1e83836Smrg# simply because there is no reason against having it here, and in addition,
3571*b1e83836Smrg# creating and moving files from /tmp can sometimes cause problems.
3572*b1e83836Smrg# Hook for its removal unless debugging.
3573*b1e83836Smrg# Note that there is a small window in which the directory will not be cleaned:
3574*b1e83836Smrg# after its creation but before its name has been assigned to `$tmp'.
3575*b1e83836Smrg$debug ||
3576*b1e83836Smrg{
3577*b1e83836Smrg  tmp= ac_tmp=
3578*b1e83836Smrg  trap 'exit_status=$?
3579*b1e83836Smrg  : "${ac_tmp:=$tmp}"
3580*b1e83836Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3581*b1e83836Smrg' 0
3582*b1e83836Smrg  trap 'as_fn_exit 1' 1 2 13 15
3583*b1e83836Smrg}
3584*b1e83836Smrg# Create a (secure) tmp directory for tmp files.
3585*b1e83836Smrg
3586*b1e83836Smrg{
3587*b1e83836Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3588*b1e83836Smrg  test -d "$tmp"
3589*b1e83836Smrg}  ||
3590*b1e83836Smrg{
3591*b1e83836Smrg  tmp=./conf$$-$RANDOM
3592*b1e83836Smrg  (umask 077 && mkdir "$tmp")
3593*b1e83836Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3594*b1e83836Smrgac_tmp=$tmp
3595*b1e83836Smrg
3596*b1e83836Smrg# Set up the scripts for CONFIG_FILES section.
3597*b1e83836Smrg# No need to generate them if there are no CONFIG_FILES.
3598*b1e83836Smrg# This happens for instance with `./config.status config.h'.
3599*b1e83836Smrgif test -n "$CONFIG_FILES"; then
3600*b1e83836Smrg
3601*b1e83836Smrg
3602*b1e83836Smrgac_cr=`echo X | tr X '\015'`
3603*b1e83836Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
3604*b1e83836Smrg# But we know of no other shell where ac_cr would be empty at this
3605*b1e83836Smrg# point, so we can use a bashism as a fallback.
3606*b1e83836Smrgif test "x$ac_cr" = x; then
3607*b1e83836Smrg  eval ac_cr=\$\'\\r\'
3608*b1e83836Smrgfi
3609*b1e83836Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3610*b1e83836Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3611*b1e83836Smrg  ac_cs_awk_cr='\\r'
3612*b1e83836Smrgelse
3613*b1e83836Smrg  ac_cs_awk_cr=$ac_cr
3614*b1e83836Smrgfi
3615*b1e83836Smrg
3616*b1e83836Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3617*b1e83836Smrg_ACEOF
3618*b1e83836Smrg
3619*b1e83836Smrg
3620*b1e83836Smrg{
3621*b1e83836Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
3622*b1e83836Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3623*b1e83836Smrg  echo "_ACEOF"
3624*b1e83836Smrg} >conf$$subs.sh ||
3625*b1e83836Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3626*b1e83836Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3627*b1e83836Smrgac_delim='%!_!# '
3628*b1e83836Smrgfor ac_last_try in false false false false false :; do
3629*b1e83836Smrg  . ./conf$$subs.sh ||
3630*b1e83836Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3631*b1e83836Smrg
3632*b1e83836Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3633*b1e83836Smrg  if test $ac_delim_n = $ac_delim_num; then
3634*b1e83836Smrg    break
3635*b1e83836Smrg  elif $ac_last_try; then
3636*b1e83836Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3637*b1e83836Smrg  else
3638*b1e83836Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3639*b1e83836Smrg  fi
3640*b1e83836Smrgdone
3641*b1e83836Smrgrm -f conf$$subs.sh
3642*b1e83836Smrg
3643*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3644*b1e83836Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3645*b1e83836Smrg_ACEOF
3646*b1e83836Smrgsed -n '
3647*b1e83836Smrgh
3648*b1e83836Smrgs/^/S["/; s/!.*/"]=/
3649*b1e83836Smrgp
3650*b1e83836Smrgg
3651*b1e83836Smrgs/^[^!]*!//
3652*b1e83836Smrg:repl
3653*b1e83836Smrgt repl
3654*b1e83836Smrgs/'"$ac_delim"'$//
3655*b1e83836Smrgt delim
3656*b1e83836Smrg:nl
3657*b1e83836Smrgh
3658*b1e83836Smrgs/\(.\{148\}\)..*/\1/
3659*b1e83836Smrgt more1
3660*b1e83836Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3661*b1e83836Smrgp
3662*b1e83836Smrgn
3663*b1e83836Smrgb repl
3664*b1e83836Smrg:more1
3665*b1e83836Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3666*b1e83836Smrgp
3667*b1e83836Smrgg
3668*b1e83836Smrgs/.\{148\}//
3669*b1e83836Smrgt nl
3670*b1e83836Smrg:delim
3671*b1e83836Smrgh
3672*b1e83836Smrgs/\(.\{148\}\)..*/\1/
3673*b1e83836Smrgt more2
3674*b1e83836Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
3675*b1e83836Smrgp
3676*b1e83836Smrgb
3677*b1e83836Smrg:more2
3678*b1e83836Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3679*b1e83836Smrgp
3680*b1e83836Smrgg
3681*b1e83836Smrgs/.\{148\}//
3682*b1e83836Smrgt delim
3683*b1e83836Smrg' <conf$$subs.awk | sed '
3684*b1e83836Smrg/^[^""]/{
3685*b1e83836Smrg  N
3686*b1e83836Smrg  s/\n//
3687*b1e83836Smrg}
3688*b1e83836Smrg' >>$CONFIG_STATUS || ac_write_fail=1
3689*b1e83836Smrgrm -f conf$$subs.awk
3690*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3691*b1e83836Smrg_ACAWK
3692*b1e83836Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3693*b1e83836Smrg  for (key in S) S_is_set[key] = 1
3694*b1e83836Smrg  FS = ""
3695*b1e83836Smrg
3696*b1e83836Smrg}
3697*b1e83836Smrg{
3698*b1e83836Smrg  line = $ 0
3699*b1e83836Smrg  nfields = split(line, field, "@")
3700*b1e83836Smrg  substed = 0
3701*b1e83836Smrg  len = length(field[1])
3702*b1e83836Smrg  for (i = 2; i < nfields; i++) {
3703*b1e83836Smrg    key = field[i]
3704*b1e83836Smrg    keylen = length(key)
3705*b1e83836Smrg    if (S_is_set[key]) {
3706*b1e83836Smrg      value = S[key]
3707*b1e83836Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3708*b1e83836Smrg      len += length(value) + length(field[++i])
3709*b1e83836Smrg      substed = 1
3710*b1e83836Smrg    } else
3711*b1e83836Smrg      len += 1 + keylen
3712*b1e83836Smrg  }
3713*b1e83836Smrg
3714*b1e83836Smrg  print line
3715*b1e83836Smrg}
3716*b1e83836Smrg
3717*b1e83836Smrg_ACAWK
3718*b1e83836Smrg_ACEOF
3719*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3720*b1e83836Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3721*b1e83836Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3722*b1e83836Smrgelse
3723*b1e83836Smrg  cat
3724*b1e83836Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3725*b1e83836Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3726*b1e83836Smrg_ACEOF
3727*b1e83836Smrg
3728*b1e83836Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3729*b1e83836Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3730*b1e83836Smrg# trailing colons and then remove the whole line if VPATH becomes empty
3731*b1e83836Smrg# (actually we leave an empty line to preserve line numbers).
3732*b1e83836Smrgif test "x$srcdir" = x.; then
3733*b1e83836Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3734*b1e83836Smrgh
3735*b1e83836Smrgs///
3736*b1e83836Smrgs/^/:/
3737*b1e83836Smrgs/[	 ]*$/:/
3738*b1e83836Smrgs/:\$(srcdir):/:/g
3739*b1e83836Smrgs/:\${srcdir}:/:/g
3740*b1e83836Smrgs/:@srcdir@:/:/g
3741*b1e83836Smrgs/^:*//
3742*b1e83836Smrgs/:*$//
3743*b1e83836Smrgx
3744*b1e83836Smrgs/\(=[	 ]*\).*/\1/
3745*b1e83836SmrgG
3746*b1e83836Smrgs/\n//
3747*b1e83836Smrgs/^[^=]*=[	 ]*$//
3748*b1e83836Smrg}'
3749*b1e83836Smrgfi
3750*b1e83836Smrg
3751*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3752*b1e83836Smrgfi # test -n "$CONFIG_FILES"
3753*b1e83836Smrg
3754*b1e83836Smrg# Set up the scripts for CONFIG_HEADERS section.
3755*b1e83836Smrg# No need to generate them if there are no CONFIG_HEADERS.
3756*b1e83836Smrg# This happens for instance with `./config.status Makefile'.
3757*b1e83836Smrgif test -n "$CONFIG_HEADERS"; then
3758*b1e83836Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3759*b1e83836SmrgBEGIN {
3760*b1e83836Smrg_ACEOF
3761*b1e83836Smrg
3762*b1e83836Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as
3763*b1e83836Smrg# here-document in config.status, that substitutes the proper values into
3764*b1e83836Smrg# config.h.in to produce config.h.
3765*b1e83836Smrg
3766*b1e83836Smrg# Create a delimiter string that does not exist in confdefs.h, to ease
3767*b1e83836Smrg# handling of long lines.
3768*b1e83836Smrgac_delim='%!_!# '
3769*b1e83836Smrgfor ac_last_try in false false :; do
3770*b1e83836Smrg  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3771*b1e83836Smrg  if test -z "$ac_tt"; then
3772*b1e83836Smrg    break
3773*b1e83836Smrg  elif $ac_last_try; then
3774*b1e83836Smrg    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3775*b1e83836Smrg  else
3776*b1e83836Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3777*b1e83836Smrg  fi
3778*b1e83836Smrgdone
3779*b1e83836Smrg
3780*b1e83836Smrg# For the awk script, D is an array of macro values keyed by name,
3781*b1e83836Smrg# likewise P contains macro parameters if any.  Preserve backslash
3782*b1e83836Smrg# newline sequences.
3783*b1e83836Smrg
3784*b1e83836Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3785*b1e83836Smrgsed -n '
3786*b1e83836Smrgs/.\{148\}/&'"$ac_delim"'/g
3787*b1e83836Smrgt rset
3788*b1e83836Smrg:rset
3789*b1e83836Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
3790*b1e83836Smrgt def
3791*b1e83836Smrgd
3792*b1e83836Smrg:def
3793*b1e83836Smrgs/\\$//
3794*b1e83836Smrgt bsnl
3795*b1e83836Smrgs/["\\]/\\&/g
3796*b1e83836Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
3797*b1e83836SmrgD["\1"]=" \3"/p
3798*b1e83836Smrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
3799*b1e83836Smrgd
3800*b1e83836Smrg:bsnl
3801*b1e83836Smrgs/["\\]/\\&/g
3802*b1e83836Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
3803*b1e83836SmrgD["\1"]=" \3\\\\\\n"\\/p
3804*b1e83836Smrgt cont
3805*b1e83836Smrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3806*b1e83836Smrgt cont
3807*b1e83836Smrgd
3808*b1e83836Smrg:cont
3809*b1e83836Smrgn
3810*b1e83836Smrgs/.\{148\}/&'"$ac_delim"'/g
3811*b1e83836Smrgt clear
3812*b1e83836Smrg:clear
3813*b1e83836Smrgs/\\$//
3814*b1e83836Smrgt bsnlc
3815*b1e83836Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p
3816*b1e83836Smrgd
3817*b1e83836Smrg:bsnlc
3818*b1e83836Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3819*b1e83836Smrgb cont
3820*b1e83836Smrg' <confdefs.h | sed '
3821*b1e83836Smrgs/'"$ac_delim"'/"\\\
3822*b1e83836Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1
3823*b1e83836Smrg
3824*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3825*b1e83836Smrg  for (key in D) D_is_set[key] = 1
3826*b1e83836Smrg  FS = ""
3827*b1e83836Smrg}
3828*b1e83836Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3829*b1e83836Smrg  line = \$ 0
3830*b1e83836Smrg  split(line, arg, " ")
3831*b1e83836Smrg  if (arg[1] == "#") {
3832*b1e83836Smrg    defundef = arg[2]
3833*b1e83836Smrg    mac1 = arg[3]
3834*b1e83836Smrg  } else {
3835*b1e83836Smrg    defundef = substr(arg[1], 2)
3836*b1e83836Smrg    mac1 = arg[2]
3837*b1e83836Smrg  }
3838*b1e83836Smrg  split(mac1, mac2, "(") #)
3839*b1e83836Smrg  macro = mac2[1]
3840*b1e83836Smrg  prefix = substr(line, 1, index(line, defundef) - 1)
3841*b1e83836Smrg  if (D_is_set[macro]) {
3842*b1e83836Smrg    # Preserve the white space surrounding the "#".
3843*b1e83836Smrg    print prefix "define", macro P[macro] D[macro]
3844*b1e83836Smrg    next
3845*b1e83836Smrg  } else {
3846*b1e83836Smrg    # Replace #undef with comments.  This is necessary, for example,
3847*b1e83836Smrg    # in the case of _POSIX_SOURCE, which is predefined and required
3848*b1e83836Smrg    # on some systems where configure will not decide to define it.
3849*b1e83836Smrg    if (defundef == "undef") {
3850*b1e83836Smrg      print "/*", prefix defundef, macro, "*/"
3851*b1e83836Smrg      next
3852*b1e83836Smrg    }
3853*b1e83836Smrg  }
3854*b1e83836Smrg}
3855*b1e83836Smrg{ print }
3856*b1e83836Smrg_ACAWK
3857*b1e83836Smrg_ACEOF
3858*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3859*b1e83836Smrg  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3860*b1e83836Smrgfi # test -n "$CONFIG_HEADERS"
3861*b1e83836Smrg
3862*b1e83836Smrg
3863*b1e83836Smrgeval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
3864*b1e83836Smrgshift
3865*b1e83836Smrgfor ac_tag
3866*b1e83836Smrgdo
3867*b1e83836Smrg  case $ac_tag in
3868*b1e83836Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
3869*b1e83836Smrg  esac
3870*b1e83836Smrg  case $ac_mode$ac_tag in
3871*b1e83836Smrg  :[FHL]*:*);;
3872*b1e83836Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3873*b1e83836Smrg  :[FH]-) ac_tag=-:-;;
3874*b1e83836Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3875*b1e83836Smrg  esac
3876*b1e83836Smrg  ac_save_IFS=$IFS
3877*b1e83836Smrg  IFS=:
3878*b1e83836Smrg  set x $ac_tag
3879*b1e83836Smrg  IFS=$ac_save_IFS
3880*b1e83836Smrg  shift
3881*b1e83836Smrg  ac_file=$1
3882*b1e83836Smrg  shift
3883*b1e83836Smrg
3884*b1e83836Smrg  case $ac_mode in
3885*b1e83836Smrg  :L) ac_source=$1;;
3886*b1e83836Smrg  :[FH])
3887*b1e83836Smrg    ac_file_inputs=
3888*b1e83836Smrg    for ac_f
3889*b1e83836Smrg    do
3890*b1e83836Smrg      case $ac_f in
3891*b1e83836Smrg      -) ac_f="$ac_tmp/stdin";;
3892*b1e83836Smrg      *) # Look for the file first in the build tree, then in the source tree
3893*b1e83836Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3894*b1e83836Smrg	 # because $ac_f cannot contain `:'.
3895*b1e83836Smrg	 test -f "$ac_f" ||
3896*b1e83836Smrg	   case $ac_f in
3897*b1e83836Smrg	   [\\/$]*) false;;
3898*b1e83836Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3899*b1e83836Smrg	   esac ||
3900*b1e83836Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3901*b1e83836Smrg      esac
3902*b1e83836Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3903*b1e83836Smrg      as_fn_append ac_file_inputs " '$ac_f'"
3904*b1e83836Smrg    done
3905*b1e83836Smrg
3906*b1e83836Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
3907*b1e83836Smrg    # use $as_me), people would be surprised to read:
3908*b1e83836Smrg    #    /* config.h.  Generated by config.status.  */
3909*b1e83836Smrg    configure_input='Generated from '`
3910*b1e83836Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3911*b1e83836Smrg	`' by configure.'
3912*b1e83836Smrg    if test x"$ac_file" != x-; then
3913*b1e83836Smrg      configure_input="$ac_file.  $configure_input"
3914*b1e83836Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3915*b1e83836Smrg$as_echo "$as_me: creating $ac_file" >&6;}
3916*b1e83836Smrg    fi
3917*b1e83836Smrg    # Neutralize special characters interpreted by sed in replacement strings.
3918*b1e83836Smrg    case $configure_input in #(
3919*b1e83836Smrg    *\&* | *\|* | *\\* )
3920*b1e83836Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
3921*b1e83836Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3922*b1e83836Smrg    *) ac_sed_conf_input=$configure_input;;
3923*b1e83836Smrg    esac
3924*b1e83836Smrg
3925*b1e83836Smrg    case $ac_tag in
3926*b1e83836Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3927*b1e83836Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3928*b1e83836Smrg    esac
3929*b1e83836Smrg    ;;
3930*b1e83836Smrg  esac
3931*b1e83836Smrg
3932*b1e83836Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
3933*b1e83836Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3934*b1e83836Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
3935*b1e83836Smrg	 X"$ac_file" : 'X\(//\)$' \| \
3936*b1e83836Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3937*b1e83836Smrg$as_echo X"$ac_file" |
3938*b1e83836Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3939*b1e83836Smrg	    s//\1/
3940*b1e83836Smrg	    q
3941*b1e83836Smrg	  }
3942*b1e83836Smrg	  /^X\(\/\/\)[^/].*/{
3943*b1e83836Smrg	    s//\1/
3944*b1e83836Smrg	    q
3945*b1e83836Smrg	  }
3946*b1e83836Smrg	  /^X\(\/\/\)$/{
3947*b1e83836Smrg	    s//\1/
3948*b1e83836Smrg	    q
3949*b1e83836Smrg	  }
3950*b1e83836Smrg	  /^X\(\/\).*/{
3951*b1e83836Smrg	    s//\1/
3952*b1e83836Smrg	    q
3953*b1e83836Smrg	  }
3954*b1e83836Smrg	  s/.*/./; q'`
3955*b1e83836Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
3956*b1e83836Smrg  ac_builddir=.
3957*b1e83836Smrg
3958*b1e83836Smrgcase "$ac_dir" in
3959*b1e83836Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3960*b1e83836Smrg*)
3961*b1e83836Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3962*b1e83836Smrg  # A ".." for each directory in $ac_dir_suffix.
3963*b1e83836Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3964*b1e83836Smrg  case $ac_top_builddir_sub in
3965*b1e83836Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3966*b1e83836Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3967*b1e83836Smrg  esac ;;
3968*b1e83836Smrgesac
3969*b1e83836Smrgac_abs_top_builddir=$ac_pwd
3970*b1e83836Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
3971*b1e83836Smrg# for backward compatibility:
3972*b1e83836Smrgac_top_builddir=$ac_top_build_prefix
3973*b1e83836Smrg
3974*b1e83836Smrgcase $srcdir in
3975*b1e83836Smrg  .)  # We are building in place.
3976*b1e83836Smrg    ac_srcdir=.
3977*b1e83836Smrg    ac_top_srcdir=$ac_top_builddir_sub
3978*b1e83836Smrg    ac_abs_top_srcdir=$ac_pwd ;;
3979*b1e83836Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
3980*b1e83836Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
3981*b1e83836Smrg    ac_top_srcdir=$srcdir
3982*b1e83836Smrg    ac_abs_top_srcdir=$srcdir ;;
3983*b1e83836Smrg  *) # Relative name.
3984*b1e83836Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3985*b1e83836Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
3986*b1e83836Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3987*b1e83836Smrgesac
3988*b1e83836Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3989*b1e83836Smrg
3990*b1e83836Smrg
3991*b1e83836Smrg  case $ac_mode in
3992*b1e83836Smrg  :F)
3993*b1e83836Smrg  #
3994*b1e83836Smrg  # CONFIG_FILE
3995*b1e83836Smrg  #
3996*b1e83836Smrg
3997*b1e83836Smrg_ACEOF
3998*b1e83836Smrg
3999*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4000*b1e83836Smrg# If the template does not know about datarootdir, expand it.
4001*b1e83836Smrg# FIXME: This hack should be removed a few years after 2.60.
4002*b1e83836Smrgac_datarootdir_hack=; ac_datarootdir_seen=
4003*b1e83836Smrgac_sed_dataroot='
4004*b1e83836Smrg/datarootdir/ {
4005*b1e83836Smrg  p
4006*b1e83836Smrg  q
4007*b1e83836Smrg}
4008*b1e83836Smrg/@datadir@/p
4009*b1e83836Smrg/@docdir@/p
4010*b1e83836Smrg/@infodir@/p
4011*b1e83836Smrg/@localedir@/p
4012*b1e83836Smrg/@mandir@/p'
4013*b1e83836Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4014*b1e83836Smrg*datarootdir*) ac_datarootdir_seen=yes;;
4015*b1e83836Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4016*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4017*b1e83836Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4018*b1e83836Smrg_ACEOF
4019*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4020*b1e83836Smrg  ac_datarootdir_hack='
4021*b1e83836Smrg  s&@datadir@&$datadir&g
4022*b1e83836Smrg  s&@docdir@&$docdir&g
4023*b1e83836Smrg  s&@infodir@&$infodir&g
4024*b1e83836Smrg  s&@localedir@&$localedir&g
4025*b1e83836Smrg  s&@mandir@&$mandir&g
4026*b1e83836Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
4027*b1e83836Smrgesac
4028*b1e83836Smrg_ACEOF
4029*b1e83836Smrg
4030*b1e83836Smrg# Neutralize VPATH when `$srcdir' = `.'.
4031*b1e83836Smrg# Shell code in configure.ac might set extrasub.
4032*b1e83836Smrg# FIXME: do we really want to maintain this feature?
4033*b1e83836Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4034*b1e83836Smrgac_sed_extra="$ac_vpsub
4035*b1e83836Smrg$extrasub
4036*b1e83836Smrg_ACEOF
4037*b1e83836Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4038*b1e83836Smrg:t
4039*b1e83836Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4040*b1e83836Smrgs|@configure_input@|$ac_sed_conf_input|;t t
4041*b1e83836Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
4042*b1e83836Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
4043*b1e83836Smrgs&@srcdir@&$ac_srcdir&;t t
4044*b1e83836Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
4045*b1e83836Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
4046*b1e83836Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4047*b1e83836Smrgs&@builddir@&$ac_builddir&;t t
4048*b1e83836Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
4049*b1e83836Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4050*b1e83836Smrg$ac_datarootdir_hack
4051*b1e83836Smrg"
4052*b1e83836Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4053*b1e83836Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4054*b1e83836Smrg
4055*b1e83836Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4056*b1e83836Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4057*b1e83836Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4058*b1e83836Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4059*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4060*b1e83836Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
4061*b1e83836Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4062*b1e83836Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
4063*b1e83836Smrg
4064*b1e83836Smrg  rm -f "$ac_tmp/stdin"
4065*b1e83836Smrg  case $ac_file in
4066*b1e83836Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4067*b1e83836Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4068*b1e83836Smrg  esac \
4069*b1e83836Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4070*b1e83836Smrg ;;
4071*b1e83836Smrg  :H)
4072*b1e83836Smrg  #
4073*b1e83836Smrg  # CONFIG_HEADER
4074*b1e83836Smrg  #
4075*b1e83836Smrg  if test x"$ac_file" != x-; then
4076*b1e83836Smrg    {
4077*b1e83836Smrg      $as_echo "/* $configure_input  */" \
4078*b1e83836Smrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4079*b1e83836Smrg    } >"$ac_tmp/config.h" \
4080*b1e83836Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4081*b1e83836Smrg    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4082*b1e83836Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4083*b1e83836Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;}
4084*b1e83836Smrg    else
4085*b1e83836Smrg      rm -f "$ac_file"
4086*b1e83836Smrg      mv "$ac_tmp/config.h" "$ac_file" \
4087*b1e83836Smrg	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
4088*b1e83836Smrg    fi
4089*b1e83836Smrg  else
4090*b1e83836Smrg    $as_echo "/* $configure_input  */" \
4091*b1e83836Smrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4092*b1e83836Smrg      || as_fn_error $? "could not create -" "$LINENO" 5
4093*b1e83836Smrg  fi
4094*b1e83836Smrg ;;
4095*b1e83836Smrg
4096*b1e83836Smrg
4097*b1e83836Smrg  esac
4098*b1e83836Smrg
4099*b1e83836Smrgdone # for ac_tag
4100*b1e83836Smrg
4101*b1e83836Smrg
4102*b1e83836Smrgas_fn_exit 0
4103*b1e83836Smrg_ACEOF
4104*b1e83836Smrgac_clean_files=$ac_clean_files_save
4105*b1e83836Smrg
4106*b1e83836Smrgtest $ac_write_fail = 0 ||
4107*b1e83836Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4108*b1e83836Smrg
4109*b1e83836Smrg
4110*b1e83836Smrg# configure is writing to config.log, and then calls config.status.
4111*b1e83836Smrg# config.status does its own redirection, appending to config.log.
4112*b1e83836Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
4113*b1e83836Smrg# by configure, so config.status won't be able to write to it; its
4114*b1e83836Smrg# output is simply discarded.  So we exec the FD to /dev/null,
4115*b1e83836Smrg# effectively closing config.log, so it can be properly (re)opened and
4116*b1e83836Smrg# appended to by config.status.  When coming back to configure, we
4117*b1e83836Smrg# need to make the FD available again.
4118*b1e83836Smrgif test "$no_create" != yes; then
4119*b1e83836Smrg  ac_cs_success=:
4120*b1e83836Smrg  ac_config_status_args=
4121*b1e83836Smrg  test "$silent" = yes &&
4122*b1e83836Smrg    ac_config_status_args="$ac_config_status_args --quiet"
4123*b1e83836Smrg  exec 5>/dev/null
4124*b1e83836Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4125*b1e83836Smrg  exec 5>>config.log
4126*b1e83836Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4127*b1e83836Smrg  # would make configure fail if this is the last instruction.
4128*b1e83836Smrg  $ac_cs_success || as_fn_exit 1
4129*b1e83836Smrgfi
4130*b1e83836Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4131*b1e83836Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4132*b1e83836Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4133*b1e83836Smrgfi
4134*b1e83836Smrg
4135