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