source: libcfa/configure @ e523b07

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

Implemented the nolib configuration

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