source: libcfa/configure @ ff1e0f38

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since ff1e0f38 was ff1e0f38, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

configure flags are now propagated properly to libcfa

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