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