source: libcfa/configure @ 3b3491b

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 3b3491b was 3b3491b, checked in by Aaron Moss <a3moss@…>, 6 years ago

Add first draft of resolver prototype dumper

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