source: libcfa/configure @ a5121bf

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

Tests can now be run from installed binaries or tree binaries

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