source: trunk/GDE/PHYML20130708/phyml/configure.fallback

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