source: libcfa/configure @ 37fe352

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexer
Last change on this file since 37fe352 was 37fe352, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

Added proper multi-lib handling, tests still do not work and arm support is broken

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