source: trunk/configure @ 3939

Last change on this file since 3939 was 3939, checked in by bradbell, 2 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: bd9a72f2ccec67a9773cd2ecd536df8fe09860da
end hash code: c6934e69b1c90985bc2f076b2e23d0a0a58525a8

commit c6934e69b1c90985bc2f076b2e23d0a0a58525a8
Author: Brad Bell <bradbell@…>
Date: Mon May 22 06:45:22 2017 -0700

Corrrect autotools version of cppad_deprecated_01 and cppad_extra_debug_01.

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 267.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for cppad 20170522.
4#
5# Report bugs to <cppad@list.coin-or.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62        expr "X$arg" : "X\\(.*\\)$as_nl";
63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""        $as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218         /*)
219           for as_base in sh bash ksh sh5; do
220             # Try only shells that exist, to save several forks.
221             as_shell=$as_dir/$as_base
222             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229           done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: cppad@list.coin-or.org about your system, including any
271$0: error possibly output before this message. Then install
272$0: a modern shell, or manually run the script under such a
273$0: shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334         X"$as_dir" : 'X\(//\)[^/]' \| \
335         X"$as_dir" : 'X\(//\)$' \| \
336         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339            s//\1/
340            q
341          }
342          /^X\(\/\/\)[^/].*/{
343            s//\1/
344            q
345          }
346          /^X\(\/\/\)$/{
347            s//\1/
348            q
349          }
350          /^X\(\/\).*/{
351            s//\1/
352            q
353          }
354          s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443         X"$0" : 'X\(//\)$' \| \
444         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447            s//\1/
448            q
449          }
450          /^X\/\(\/\/\)$/{
451            s//\1/
452            q
453          }
454          /^X\/\(\/\).*/{
455            s//\1/
456            q
457          }
458          s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T=' ';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='cppad'
582PACKAGE_TARNAME='cppad'
583PACKAGE_VERSION='20170522'
584PACKAGE_STRING='cppad 20170522'
585PACKAGE_BUGREPORT='cppad@list.coin-or.org'
586PACKAGE_URL=''
587
588ac_default_prefix=${HOME}
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_unique_file="cppad/cppad.hpp"
626ac_subst_vars='am__EXEEXT_FALSE
627am__EXEEXT_TRUE
628LTLIBOBJS
629LIBOBJS
630ipopt_prefix
631eigen_prefix
632adolc_prefix
633cppad_SOURCE_DIR
634cppad_abs_includedir
635cppad_prefix
636cppad_pkgconfig_requires
637cppad_pkgconfig_libs
638cppad_pkgconfig_cflags
639cppad_url
640cppad_version
641cppad_description
642CPPAD_IPOPT_LIBS
643CPPAD_IPOPT_LD_PATH
644BTHREAD_LIB
645CppAD_BTHREAD_FALSE
646CppAD_BTHREAD_TRUE
647DL_LIB
648PTHREAD_LIB
649CppAD_PTHREAD_FALSE
650CppAD_PTHREAD_TRUE
651ABS_TOP_SRCDIR
652ABS_TOP_BUILDDIR
653FCLIBS
654host_os
655host_vendor
656host_cpu
657host
658build_os
659build_vendor
660build_cpu
661build
662CppAD_MS_COMPILER_FALSE
663CppAD_MS_COMPILER_TRUE
664RANLIB
665cppad_has_gettimeofday
666cppad_cppadvector
667cppad_size_t_not_unsigned_int
668EGREP
669GREP
670CPP
671cppad_has_steady_clock
672cppad_cplusplus_201100_ok
673cppad_has_cstdint_8_to_64
674cppad_has_rvalue
675cppad_has_nullptr
676cppad_has_tmpnam_s
677cppad_has_mkstemp
678cppad_has_colpack
679cppad_deprecated_01
680cppad_extra_debug_01
681cppad_cxx_flags
682CppAD_HAVE_AR_FALSE
683CppAD_HAVE_AR_TRUE
684CppAD_PKG_CONFIG_FALSE
685CppAD_PKG_CONFIG_TRUE
686have_pkg_config
687ac_ct_FC
688FCFLAGS
689FC
690am__fastdepCXX_FALSE
691am__fastdepCXX_TRUE
692CXXDEPMODE
693ac_ct_CXX
694CXXFLAGS
695CXX
696cppad_tape_id_type
697TAPE_ID_TYPE
698cppad_tape_addr_type
699TAPE_ADDR_TYPE
700cppad_max_num_threads
701MAX_NUM_THREADS
702CppAD_OPENMP_FALSE
703CppAD_OPENMP_TRUE
704OPENMP_FLAGS
705CXX_FLAGS_EIGEN
706CXX_FLAGS_FADBAD
707CXX_FLAGS
708cppad_has_boost
709BOOST_INCLUDE
710CppAD_BOOST_DIR_FALSE
711CppAD_BOOST_DIR_TRUE
712BOOST_DIR
713cppad_has_ipopt
714CppAD_IPOPT_FALSE
715CppAD_IPOPT_TRUE
716IPOPT_DIR
717cppad_has_sacado
718CppAD_SACADO_FALSE
719CppAD_SACADO_TRUE
720SACADO_DIR
721cppad_has_fadbad
722CppAD_FADBAD_FALSE
723CppAD_FADBAD_TRUE
724FADBAD_DIR
725cppad_has_eigen
726EIGEN_INCLUDE
727CppAD_EIGEN_DIR_FALSE
728CppAD_EIGEN_DIR_TRUE
729EIGEN_DIR
730cppad_has_adolc
731CppAD_ADOLC_FALSE
732CppAD_ADOLC_TRUE
733ADOLC_DIR
734CppAD_POSTFIX_FALSE
735CppAD_POSTFIX_TRUE
736POSTFIX_DIR
737cppad_eigenvector
738cppad_boostvector
739cppad_stdvector
740CppAD_DOCUMENTATION_FALSE
741CppAD_DOCUMENTATION_TRUE
742CppAD_DEPRECATED_FALSE
743CppAD_DEPRECATED_TRUE
744am__fastdepCC_FALSE
745am__fastdepCC_TRUE
746CCDEPMODE
747am__nodep
748AMDEPBACKSLASH
749AMDEP_FALSE
750AMDEP_TRUE
751am__quote
752am__include
753DEPDIR
754OBJEXT
755EXEEXT
756ac_ct_CC
757CPPFLAGS
758LDFLAGS
759CFLAGS
760CC
761ac_ct_AR
762AR
763am__untar
764am__tar
765AMTAR
766am__leading_dot
767SET_MAKE
768AWK
769mkdir_p
770MKDIR_P
771INSTALL_STRIP_PROGRAM
772STRIP
773install_sh
774MAKEINFO
775AUTOHEADER
776AUTOMAKE
777AUTOCONF
778ACLOCAL
779VERSION
780PACKAGE
781CYGPATH_W
782am__isrc
783INSTALL_DATA
784INSTALL_SCRIPT
785INSTALL_PROGRAM
786MAINT
787MAINTAINER_MODE_FALSE
788MAINTAINER_MODE_TRUE
789AM_BACKSLASH
790AM_DEFAULT_VERBOSITY
791AM_DEFAULT_V
792AM_V
793target_alias
794host_alias
795build_alias
796LIBS
797ECHO_T
798ECHO_N
799ECHO_C
800DEFS
801mandir
802localedir
803libdir
804psdir
805pdfdir
806dvidir
807htmldir
808infodir
809docdir
810oldincludedir
811includedir
812localstatedir
813sharedstatedir
814sysconfdir
815datadir
816datarootdir
817libexecdir
818sbindir
819bindir
820program_transform_name
821prefix
822exec_prefix
823PACKAGE_URL
824PACKAGE_BUGREPORT
825PACKAGE_STRING
826PACKAGE_VERSION
827PACKAGE_TARNAME
828PACKAGE_NAME
829PATH_SEPARATOR
830SHELL'
831ac_subst_files=''
832ac_user_opts='
833enable_option_checking
834enable_silent_rules
835enable_maintainer_mode
836enable_dependency_tracking
837with_SpeedExample
838with_profiling
839with_Speed
840with_Introduction
841with_Example
842with_TestMore
843with_PrintFor
844with_sparse_set
845with_sparse_list
846with_deprecated
847enable_msvc
848with_Documentation
849with_stdvector
850with_boostvector
851with_eigenvector
852'
853      ac_precious_vars='build_alias
854host_alias
855target_alias
856CC
857CFLAGS
858LDFLAGS
859LIBS
860CPPFLAGS
861POSTFIX_DIR
862ADOLC_DIR
863EIGEN_DIR
864FADBAD_DIR
865SACADO_DIR
866IPOPT_DIR
867BOOST_DIR
868CXX_FLAGS
869OPENMP_FLAGS
870MAX_NUM_THREADS
871TAPE_ADDR_TYPE
872TAPE_ID_TYPE
873CXX
874CXXFLAGS
875CCC
876FC
877FCFLAGS
878CPP'
879
880
881# Initialize some variables set by options.
882ac_init_help=
883ac_init_version=false
884ac_unrecognized_opts=
885ac_unrecognized_sep=
886# The variables have the same names as the options, with
887# dashes changed to underlines.
888cache_file=/dev/null
889exec_prefix=NONE
890no_create=
891no_recursion=
892prefix=NONE
893program_prefix=NONE
894program_suffix=NONE
895program_transform_name=s,x,x,
896silent=
897site=
898srcdir=
899verbose=
900x_includes=NONE
901x_libraries=NONE
902
903# Installation directory options.
904# These are left unexpanded so users can "make install exec_prefix=/foo"
905# and all the variables that are supposed to be based on exec_prefix
906# by default will actually change.
907# Use braces instead of parens because sh, perl, etc. also accept them.
908# (The list follows the same order as the GNU Coding Standards.)
909bindir='${exec_prefix}/bin'
910sbindir='${exec_prefix}/sbin'
911libexecdir='${exec_prefix}/libexec'
912datarootdir='${prefix}/share'
913datadir='${datarootdir}'
914sysconfdir='${prefix}/etc'
915sharedstatedir='${prefix}/com'
916localstatedir='${prefix}/var'
917includedir='${prefix}/include'
918oldincludedir='/usr/include'
919docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
920infodir='${datarootdir}/info'
921htmldir='${docdir}'
922dvidir='${docdir}'
923pdfdir='${docdir}'
924psdir='${docdir}'
925libdir='${exec_prefix}/lib'
926localedir='${datarootdir}/locale'
927mandir='${datarootdir}/man'
928
929ac_prev=
930ac_dashdash=
931for ac_option
932do
933  # If the previous option needs an argument, assign it.
934  if test -n "$ac_prev"; then
935    eval $ac_prev=\$ac_option
936    ac_prev=
937    continue
938  fi
939
940  case $ac_option in
941  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942  *=)   ac_optarg= ;;
943  *)    ac_optarg=yes ;;
944  esac
945
946  # Accept the important Cygnus configure options, so we can diagnose typos.
947
948  case $ac_dashdash$ac_option in
949  --)
950    ac_dashdash=yes ;;
951
952  -bindir | --bindir | --bindi | --bind | --bin | --bi)
953    ac_prev=bindir ;;
954  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
955    bindir=$ac_optarg ;;
956
957  -build | --build | --buil | --bui | --bu)
958    ac_prev=build_alias ;;
959  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
960    build_alias=$ac_optarg ;;
961
962  -cache-file | --cache-file | --cache-fil | --cache-fi \
963  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
964    ac_prev=cache_file ;;
965  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
966  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
967    cache_file=$ac_optarg ;;
968
969  --config-cache | -C)
970    cache_file=config.cache ;;
971
972  -datadir | --datadir | --datadi | --datad)
973    ac_prev=datadir ;;
974  -datadir=* | --datadir=* | --datadi=* | --datad=*)
975    datadir=$ac_optarg ;;
976
977  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
978  | --dataroo | --dataro | --datar)
979    ac_prev=datarootdir ;;
980  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
981  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
982    datarootdir=$ac_optarg ;;
983
984  -disable-* | --disable-*)
985    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
986    # Reject names that are not valid shell variable names.
987    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988      as_fn_error $? "invalid feature name: $ac_useropt"
989    ac_useropt_orig=$ac_useropt
990    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991    case $ac_user_opts in
992      *"
993"enable_$ac_useropt"
994"*) ;;
995      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
996         ac_unrecognized_sep=', ';;
997    esac
998    eval enable_$ac_useropt=no ;;
999
1000  -docdir | --docdir | --docdi | --doc | --do)
1001    ac_prev=docdir ;;
1002  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1003    docdir=$ac_optarg ;;
1004
1005  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1006    ac_prev=dvidir ;;
1007  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1008    dvidir=$ac_optarg ;;
1009
1010  -enable-* | --enable-*)
1011    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1012    # Reject names that are not valid shell variable names.
1013    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1014      as_fn_error $? "invalid feature name: $ac_useropt"
1015    ac_useropt_orig=$ac_useropt
1016    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017    case $ac_user_opts in
1018      *"
1019"enable_$ac_useropt"
1020"*) ;;
1021      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1022         ac_unrecognized_sep=', ';;
1023    esac
1024    eval enable_$ac_useropt=\$ac_optarg ;;
1025
1026  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1027  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1028  | --exec | --exe | --ex)
1029    ac_prev=exec_prefix ;;
1030  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1031  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1032  | --exec=* | --exe=* | --ex=*)
1033    exec_prefix=$ac_optarg ;;
1034
1035  -gas | --gas | --ga | --g)
1036    # Obsolete; use --with-gas.
1037    with_gas=yes ;;
1038
1039  -help | --help | --hel | --he | -h)
1040    ac_init_help=long ;;
1041  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1042    ac_init_help=recursive ;;
1043  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1044    ac_init_help=short ;;
1045
1046  -host | --host | --hos | --ho)
1047    ac_prev=host_alias ;;
1048  -host=* | --host=* | --hos=* | --ho=*)
1049    host_alias=$ac_optarg ;;
1050
1051  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1052    ac_prev=htmldir ;;
1053  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1054  | --ht=*)
1055    htmldir=$ac_optarg ;;
1056
1057  -includedir | --includedir | --includedi | --included | --include \
1058  | --includ | --inclu | --incl | --inc)
1059    ac_prev=includedir ;;
1060  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1061  | --includ=* | --inclu=* | --incl=* | --inc=*)
1062    includedir=$ac_optarg ;;
1063
1064  -infodir | --infodir | --infodi | --infod | --info | --inf)
1065    ac_prev=infodir ;;
1066  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1067    infodir=$ac_optarg ;;
1068
1069  -libdir | --libdir | --libdi | --libd)
1070    ac_prev=libdir ;;
1071  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1072    libdir=$ac_optarg ;;
1073
1074  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1075  | --libexe | --libex | --libe)
1076    ac_prev=libexecdir ;;
1077  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1078  | --libexe=* | --libex=* | --libe=*)
1079    libexecdir=$ac_optarg ;;
1080
1081  -localedir | --localedir | --localedi | --localed | --locale)
1082    ac_prev=localedir ;;
1083  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1084    localedir=$ac_optarg ;;
1085
1086  -localstatedir | --localstatedir | --localstatedi | --localstated \
1087  | --localstate | --localstat | --localsta | --localst | --locals)
1088    ac_prev=localstatedir ;;
1089  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1090  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1091    localstatedir=$ac_optarg ;;
1092
1093  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1094    ac_prev=mandir ;;
1095  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1096    mandir=$ac_optarg ;;
1097
1098  -nfp | --nfp | --nf)
1099    # Obsolete; use --without-fp.
1100    with_fp=no ;;
1101
1102  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1103  | --no-cr | --no-c | -n)
1104    no_create=yes ;;
1105
1106  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1107  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1108    no_recursion=yes ;;
1109
1110  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1111  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1112  | --oldin | --oldi | --old | --ol | --o)
1113    ac_prev=oldincludedir ;;
1114  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1115  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1116  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1117    oldincludedir=$ac_optarg ;;
1118
1119  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1120    ac_prev=prefix ;;
1121  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1122    prefix=$ac_optarg ;;
1123
1124  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1125  | --program-pre | --program-pr | --program-p)
1126    ac_prev=program_prefix ;;
1127  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1128  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1129    program_prefix=$ac_optarg ;;
1130
1131  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1132  | --program-suf | --program-su | --program-s)
1133    ac_prev=program_suffix ;;
1134  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1135  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1136    program_suffix=$ac_optarg ;;
1137
1138  -program-transform-name | --program-transform-name \
1139  | --program-transform-nam | --program-transform-na \
1140  | --program-transform-n | --program-transform- \
1141  | --program-transform | --program-transfor \
1142  | --program-transfo | --program-transf \
1143  | --program-trans | --program-tran \
1144  | --progr-tra | --program-tr | --program-t)
1145    ac_prev=program_transform_name ;;
1146  -program-transform-name=* | --program-transform-name=* \
1147  | --program-transform-nam=* | --program-transform-na=* \
1148  | --program-transform-n=* | --program-transform-=* \
1149  | --program-transform=* | --program-transfor=* \
1150  | --program-transfo=* | --program-transf=* \
1151  | --program-trans=* | --program-tran=* \
1152  | --progr-tra=* | --program-tr=* | --program-t=*)
1153    program_transform_name=$ac_optarg ;;
1154
1155  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1156    ac_prev=pdfdir ;;
1157  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1158    pdfdir=$ac_optarg ;;
1159
1160  -psdir | --psdir | --psdi | --psd | --ps)
1161    ac_prev=psdir ;;
1162  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1163    psdir=$ac_optarg ;;
1164
1165  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1166  | -silent | --silent | --silen | --sile | --sil)
1167    silent=yes ;;
1168
1169  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1170    ac_prev=sbindir ;;
1171  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1172  | --sbi=* | --sb=*)
1173    sbindir=$ac_optarg ;;
1174
1175  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1176  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1177  | --sharedst | --shareds | --shared | --share | --shar \
1178  | --sha | --sh)
1179    ac_prev=sharedstatedir ;;
1180  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1181  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1182  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1183  | --sha=* | --sh=*)
1184    sharedstatedir=$ac_optarg ;;
1185
1186  -site | --site | --sit)
1187    ac_prev=site ;;
1188  -site=* | --site=* | --sit=*)
1189    site=$ac_optarg ;;
1190
1191  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1192    ac_prev=srcdir ;;
1193  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1194    srcdir=$ac_optarg ;;
1195
1196  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1197  | --syscon | --sysco | --sysc | --sys | --sy)
1198    ac_prev=sysconfdir ;;
1199  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1200  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1201    sysconfdir=$ac_optarg ;;
1202
1203  -target | --target | --targe | --targ | --tar | --ta | --t)
1204    ac_prev=target_alias ;;
1205  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1206    target_alias=$ac_optarg ;;
1207
1208  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1209    verbose=yes ;;
1210
1211  -version | --version | --versio | --versi | --vers | -V)
1212    ac_init_version=: ;;
1213
1214  -with-* | --with-*)
1215    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216    # Reject names that are not valid shell variable names.
1217    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1218      as_fn_error $? "invalid package name: $ac_useropt"
1219    ac_useropt_orig=$ac_useropt
1220    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221    case $ac_user_opts in
1222      *"
1223"with_$ac_useropt"
1224"*) ;;
1225      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1226         ac_unrecognized_sep=', ';;
1227    esac
1228    eval with_$ac_useropt=\$ac_optarg ;;
1229
1230  -without-* | --without-*)
1231    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1232    # Reject names that are not valid shell variable names.
1233    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1234      as_fn_error $? "invalid package name: $ac_useropt"
1235    ac_useropt_orig=$ac_useropt
1236    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237    case $ac_user_opts in
1238      *"
1239"with_$ac_useropt"
1240"*) ;;
1241      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1242         ac_unrecognized_sep=', ';;
1243    esac
1244    eval with_$ac_useropt=no ;;
1245
1246  --x)
1247    # Obsolete; use --with-x.
1248    with_x=yes ;;
1249
1250  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1251  | --x-incl | --x-inc | --x-in | --x-i)
1252    ac_prev=x_includes ;;
1253  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1254  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1255    x_includes=$ac_optarg ;;
1256
1257  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1258  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1259    ac_prev=x_libraries ;;
1260  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1261  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1262    x_libraries=$ac_optarg ;;
1263
1264  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1265Try \`$0 --help' for more information"
1266    ;;
1267
1268  *=*)
1269    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1270    # Reject names that are not valid shell variable names.
1271    case $ac_envvar in #(
1272      '' | [0-9]* | *[!_$as_cr_alnum]* )
1273      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1274    esac
1275    eval $ac_envvar=\$ac_optarg
1276    export $ac_envvar ;;
1277
1278  *)
1279    # FIXME: should be removed in autoconf 3.0.
1280    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1282      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1284    ;;
1285
1286  esac
1287done
1288
1289if test -n "$ac_prev"; then
1290  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1291  as_fn_error $? "missing argument to $ac_option"
1292fi
1293
1294if test -n "$ac_unrecognized_opts"; then
1295  case $enable_option_checking in
1296    no) ;;
1297    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1298    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1299  esac
1300fi
1301
1302# Check all directory arguments for consistency.
1303for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1304                datadir sysconfdir sharedstatedir localstatedir includedir \
1305                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1306                libdir localedir mandir
1307do
1308  eval ac_val=\$$ac_var
1309  # Remove trailing slashes.
1310  case $ac_val in
1311    */ )
1312      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1313      eval $ac_var=\$ac_val;;
1314  esac
1315  # Be sure to have absolute directory names.
1316  case $ac_val in
1317    [\\/$]* | ?:[\\/]* )  continue;;
1318    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1319  esac
1320  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1321done
1322
1323# There might be people who depend on the old broken behavior: `$host'
1324# used to hold the argument of --host etc.
1325# FIXME: To remove some day.
1326build=$build_alias
1327host=$host_alias
1328target=$target_alias
1329
1330# FIXME: To remove some day.
1331if test "x$host_alias" != x; then
1332  if test "x$build_alias" = x; then
1333    cross_compiling=maybe
1334  elif test "x$build_alias" != "x$host_alias"; then
1335    cross_compiling=yes
1336  fi
1337fi
1338
1339ac_tool_prefix=
1340test -n "$host_alias" && ac_tool_prefix=$host_alias-
1341
1342test "$silent" = yes && exec 6>/dev/null
1343
1344
1345ac_pwd=`pwd` && test -n "$ac_pwd" &&
1346ac_ls_di=`ls -di .` &&
1347ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1348  as_fn_error $? "working directory cannot be determined"
1349test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350  as_fn_error $? "pwd does not report name of working directory"
1351
1352
1353# Find the source files, if location was not specified.
1354if test -z "$srcdir"; then
1355  ac_srcdir_defaulted=yes
1356  # Try the directory containing this script, then the parent directory.
1357  ac_confdir=`$as_dirname -- "$as_myself" ||
1358$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1359         X"$as_myself" : 'X\(//\)[^/]' \| \
1360         X"$as_myself" : 'X\(//\)$' \| \
1361         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1362$as_echo X"$as_myself" |
1363    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364            s//\1/
1365            q
1366          }
1367          /^X\(\/\/\)[^/].*/{
1368            s//\1/
1369            q
1370          }
1371          /^X\(\/\/\)$/{
1372            s//\1/
1373            q
1374          }
1375          /^X\(\/\).*/{
1376            s//\1/
1377            q
1378          }
1379          s/.*/./; q'`
1380  srcdir=$ac_confdir
1381  if test ! -r "$srcdir/$ac_unique_file"; then
1382    srcdir=..
1383  fi
1384else
1385  ac_srcdir_defaulted=no
1386fi
1387if test ! -r "$srcdir/$ac_unique_file"; then
1388  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1389  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1390fi
1391ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1392ac_abs_confdir=`(
1393        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1394        pwd)`
1395# When building in place, set srcdir=.
1396if test "$ac_abs_confdir" = "$ac_pwd"; then
1397  srcdir=.
1398fi
1399# Remove unnecessary trailing slashes from srcdir.
1400# Double slashes in file names in object file debugging info
1401# mess up M-x gdb in Emacs.
1402case $srcdir in
1403*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1404esac
1405for ac_var in $ac_precious_vars; do
1406  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1407  eval ac_env_${ac_var}_value=\$${ac_var}
1408  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1409  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1410done
1411
1412#
1413# Report the --help message.
1414#
1415if test "$ac_init_help" = "long"; then
1416  # Omit some internal or obsolete options to make the list less imposing.
1417  # This message is too long to be a string in the A/UX 3.1 sh.
1418  cat <<_ACEOF
1419\`configure' configures cppad 20170522 to adapt to many kinds of systems.
1420
1421Usage: $0 [OPTION]... [VAR=VALUE]...
1422
1423To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424VAR=VALUE.  See below for descriptions of some of the useful variables.
1425
1426Defaults for the options are specified in brackets.
1427
1428Configuration:
1429  -h, --help              display this help and exit
1430      --help=short        display options specific to this package
1431      --help=recursive    display the short help of all the included packages
1432  -V, --version           display version information and exit
1433  -q, --quiet, --silent   do not print \`checking ...' messages
1434      --cache-file=FILE   cache test results in FILE [disabled]
1435  -C, --config-cache      alias for \`--cache-file=config.cache'
1436  -n, --no-create         do not create output files
1437      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1438
1439Installation directories:
1440  --prefix=PREFIX         install architecture-independent files in PREFIX
1441                          [$ac_default_prefix]
1442  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1443                          [PREFIX]
1444
1445By default, \`make install' will install all the files in
1446\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1447an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448for instance \`--prefix=\$HOME'.
1449
1450For better control, use the options below.
1451
1452Fine tuning of the installation directories:
1453  --bindir=DIR            user executables [EPREFIX/bin]
1454  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1455  --libexecdir=DIR        program executables [EPREFIX/libexec]
1456  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1457  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1458  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1459  --libdir=DIR            object code libraries [EPREFIX/lib]
1460  --includedir=DIR        C header files [PREFIX/include]
1461  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1462  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1463  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1464  --infodir=DIR           info documentation [DATAROOTDIR/info]
1465  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1466  --mandir=DIR            man documentation [DATAROOTDIR/man]
1467  --docdir=DIR            documentation root [DATAROOTDIR/doc/cppad]
1468  --htmldir=DIR           html documentation [DOCDIR]
1469  --dvidir=DIR            dvi documentation [DOCDIR]
1470  --pdfdir=DIR            pdf documentation [DOCDIR]
1471  --psdir=DIR             ps documentation [DOCDIR]
1472_ACEOF
1473
1474  cat <<\_ACEOF
1475
1476Program names:
1477  --program-prefix=PREFIX            prepend PREFIX to installed program names
1478  --program-suffix=SUFFIX            append SUFFIX to installed program names
1479  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1480
1481System types:
1482  --build=BUILD     configure for building on BUILD [guessed]
1483  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1484_ACEOF
1485fi
1486
1487if test -n "$ac_init_help"; then
1488  case $ac_init_help in
1489     short | recursive ) echo "Configuration of cppad 20170522:";;
1490   esac
1491  cat <<\_ACEOF
1492
1493Optional Features:
1494  --disable-option-checking  ignore unrecognized --enable/--with options
1495  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1496  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1497  --enable-silent-rules   less verbose build output (undo: "make V=1")
1498  --disable-silent-rules  verbose build output (undo: "make V=0")
1499  --enable-maintainer-mode
1500                          enable make rules and dependencies not useful (and
1501                          sometimes confusing) to the casual installer
1502  --enable-dependency-tracking
1503                          do not reject slow dependency extractors
1504  --disable-dependency-tracking
1505                          speeds up one-time build
1506  --enable-msvc           Prefer (i)cl/ifort/link over GNU on MinGW/Cygwin.
1507
1508Optional Packages:
1509  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1510  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1511  --with-SpeedExample     is not necessary, see install instructions.
1512  --with-profiling        is not necessary, see install instructions.
1513  --with-Speed            is not necessary, see install instructions.
1514  --with-Introduction     is not necessary, see install instructions.
1515  --with-Example          is not necessary, see install instructions.
1516  --with-TestMore         is not necessary, see install instructions.
1517  --with-PrintFor         is not necessary, see install instructions.
1518  --with-sparse_set       no longer available
1519  --with-sparse_list      no longer necessary
1520  --with-deprecated       include deprectated features that are on the
1521                          chopping block
1522  --with-Documentation    default is no
1523  --with-stdvector        default is no
1524  --with-boostvector      default is no
1525  --with-eigenvector      default is no
1526
1527Some influential environment variables:
1528  CC          C compiler command
1529  CFLAGS      C compiler flags
1530  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1531              nonstandard directory <lib dir>
1532  LIBS        libraries to pass to the linker, e.g. -l<library>
1533  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1534              you have headers in a nonstandard directory <include dir>
1535  POSTFIX_DIR postfix directory for CppAD installation
1536  ADOLC_DIR   value of configure prefix directory during Adolc install
1537  EIGEN_DIR   value of configure prefix directory during Eigen install
1538  FADBAD_DIR  parent directory directly above FADBAD++ directory
1539  SACADO_DIR  value of the configure prefix directory during Sacado install
1540  IPOPT_DIR   value of the configure prefix directory during Ipopt install
1541  BOOST_DIR   parent directory directly above boost directory
1542  CXX_FLAGS   CXXFLAGS is ignored, use CXX_FLAGS for compiler flags
1543  OPENMP_FLAGS
1544              flags that instruct compiler to interpret OpenMP directrives
1545  MAX_NUM_THREADS
1546              maximum number of threads that can be used with CppAD
1547  TAPE_ADDR_TYPE
1548              type used for addresses in AD tapes
1549  TAPE_ID_TYPE
1550              type used for addresses in AD tapes
1551  CXX         C++ compiler command
1552  CXXFLAGS    C++ compiler flags
1553  FC          Fortran compiler command
1554  FCFLAGS     Fortran compiler flags
1555  CPP         C preprocessor
1556
1557Use these variables to override the choices made by `configure' or to help
1558it to find libraries and programs with nonstandard names/locations.
1559
1560Report bugs to <cppad@list.coin-or.org>.
1561_ACEOF
1562ac_status=$?
1563fi
1564
1565if test "$ac_init_help" = "recursive"; then
1566  # If there are subdirs, report their specific --help.
1567  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568    test -d "$ac_dir" ||
1569      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570      continue
1571    ac_builddir=.
1572
1573case "$ac_dir" in
1574.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575*)
1576  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577  # A ".." for each directory in $ac_dir_suffix.
1578  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579  case $ac_top_builddir_sub in
1580  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582  esac ;;
1583esac
1584ac_abs_top_builddir=$ac_pwd
1585ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586# for backward compatibility:
1587ac_top_builddir=$ac_top_build_prefix
1588
1589case $srcdir in
1590  .)  # We are building in place.
1591    ac_srcdir=.
1592    ac_top_srcdir=$ac_top_builddir_sub
1593    ac_abs_top_srcdir=$ac_pwd ;;
1594  [\\/]* | ?:[\\/]* )  # Absolute name.
1595    ac_srcdir=$srcdir$ac_dir_suffix;
1596    ac_top_srcdir=$srcdir
1597    ac_abs_top_srcdir=$srcdir ;;
1598  *) # Relative name.
1599    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600    ac_top_srcdir=$ac_top_build_prefix$srcdir
1601    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602esac
1603ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605    cd "$ac_dir" || { ac_status=$?; continue; }
1606    # Check for guested configure.
1607    if test -f "$ac_srcdir/configure.gnu"; then
1608      echo &&
1609      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610    elif test -f "$ac_srcdir/configure"; then
1611      echo &&
1612      $SHELL "$ac_srcdir/configure" --help=recursive
1613    else
1614      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615    fi || ac_status=$?
1616    cd "$ac_pwd" || { ac_status=$?; break; }
1617  done
1618fi
1619
1620test -n "$ac_init_help" && exit $ac_status
1621if $ac_init_version; then
1622  cat <<\_ACEOF
1623cppad configure 20170522
1624generated by GNU Autoconf 2.69
1625
1626Copyright (C) 2012 Free Software Foundation, Inc.
1627This configure script is free software; the Free Software Foundation
1628gives unlimited permission to copy, distribute and modify it.
1629_ACEOF
1630  exit
1631fi
1632
1633## ------------------------ ##
1634## Autoconf initialization. ##
1635## ------------------------ ##
1636
1637# ac_fn_c_try_compile LINENO
1638# --------------------------
1639# Try to compile conftest.$ac_ext, and return whether this succeeded.
1640ac_fn_c_try_compile ()
1641{
1642  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643  rm -f conftest.$ac_objext
1644  if { { ac_try="$ac_compile"
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_compile") 2>conftest.err
1652  ac_status=$?
1653  if test -s conftest.err; then
1654    grep -v '^ *+' conftest.err >conftest.er1
1655    cat conftest.er1 >&5
1656    mv -f conftest.er1 conftest.err
1657  fi
1658  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659  test $ac_status = 0; } && {
1660         test -z "$ac_c_werror_flag" ||
1661         test ! -s conftest.err
1662       } && test -s conftest.$ac_objext; then :
1663  ac_retval=0
1664else
1665  $as_echo "$as_me: failed program was:" >&5
1666sed 's/^/| /' conftest.$ac_ext >&5
1667
1668        ac_retval=1
1669fi
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671  as_fn_set_status $ac_retval
1672
1673} # ac_fn_c_try_compile
1674
1675# ac_fn_cxx_try_compile LINENO
1676# ----------------------------
1677# Try to compile conftest.$ac_ext, and return whether this succeeded.
1678ac_fn_cxx_try_compile ()
1679{
1680  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681  rm -f conftest.$ac_objext
1682  if { { ac_try="$ac_compile"
1683case "(($ac_try" in
1684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685  *) ac_try_echo=$ac_try;;
1686esac
1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688$as_echo "$ac_try_echo"; } >&5
1689  (eval "$ac_compile") 2>conftest.err
1690  ac_status=$?
1691  if test -s conftest.err; then
1692    grep -v '^ *+' conftest.err >conftest.er1
1693    cat conftest.er1 >&5
1694    mv -f conftest.er1 conftest.err
1695  fi
1696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697  test $ac_status = 0; } && {
1698         test -z "$ac_cxx_werror_flag" ||
1699         test ! -s conftest.err
1700       } && test -s conftest.$ac_objext; then :
1701  ac_retval=0
1702else
1703  $as_echo "$as_me: failed program was:" >&5
1704sed 's/^/| /' conftest.$ac_ext >&5
1705
1706        ac_retval=1
1707fi
1708  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709  as_fn_set_status $ac_retval
1710
1711} # ac_fn_cxx_try_compile
1712
1713# ac_fn_fc_try_compile LINENO
1714# ---------------------------
1715# Try to compile conftest.$ac_ext, and return whether this succeeded.
1716ac_fn_fc_try_compile ()
1717{
1718  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719  rm -f conftest.$ac_objext
1720  if { { ac_try="$ac_compile"
1721case "(($ac_try" in
1722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723  *) ac_try_echo=$ac_try;;
1724esac
1725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726$as_echo "$ac_try_echo"; } >&5
1727  (eval "$ac_compile") 2>conftest.err
1728  ac_status=$?
1729  if test -s conftest.err; then
1730    grep -v '^ *+' conftest.err >conftest.er1
1731    cat conftest.er1 >&5
1732    mv -f conftest.er1 conftest.err
1733  fi
1734  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735  test $ac_status = 0; } && {
1736         test -z "$ac_fc_werror_flag" ||
1737         test ! -s conftest.err
1738       } && test -s conftest.$ac_objext; then :
1739  ac_retval=0
1740else
1741  $as_echo "$as_me: failed program was:" >&5
1742sed 's/^/| /' conftest.$ac_ext >&5
1743
1744        ac_retval=1
1745fi
1746  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747  as_fn_set_status $ac_retval
1748
1749} # ac_fn_fc_try_compile
1750
1751# ac_fn_c_try_run LINENO
1752# ----------------------
1753# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1754# that executables *can* be run.
1755ac_fn_c_try_run ()
1756{
1757  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758  if { { ac_try="$ac_link"
1759case "(($ac_try" in
1760  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761  *) ac_try_echo=$ac_try;;
1762esac
1763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764$as_echo "$ac_try_echo"; } >&5
1765  (eval "$ac_link") 2>&5
1766  ac_status=$?
1767  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1769  { { case "(($ac_try" in
1770  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771  *) ac_try_echo=$ac_try;;
1772esac
1773eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774$as_echo "$ac_try_echo"; } >&5
1775  (eval "$ac_try") 2>&5
1776  ac_status=$?
1777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778  test $ac_status = 0; }; }; then :
1779  ac_retval=0
1780else
1781  $as_echo "$as_me: program exited with status $ac_status" >&5
1782       $as_echo "$as_me: failed program was:" >&5
1783sed 's/^/| /' conftest.$ac_ext >&5
1784
1785       ac_retval=$ac_status
1786fi
1787  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1788  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789  as_fn_set_status $ac_retval
1790
1791} # ac_fn_c_try_run
1792
1793# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1794# --------------------------------------------
1795# Tries to find the compile-time value of EXPR in a program that includes
1796# INCLUDES, setting VAR accordingly. Returns whether the value could be
1797# computed
1798ac_fn_c_compute_int ()
1799{
1800  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801  if test "$cross_compiling" = yes; then
1802    # Depending upon the size, compute the lo and hi bounds.
1803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804/* end confdefs.h.  */
1805$4
1806int
1807main ()
1808{
1809static int test_array [1 - 2 * !(($2) >= 0)];
1810test_array [0] = 0;
1811return test_array [0];
1812
1813  ;
1814  return 0;
1815}
1816_ACEOF
1817if ac_fn_c_try_compile "$LINENO"; then :
1818  ac_lo=0 ac_mid=0
1819  while :; do
1820    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821/* end confdefs.h.  */
1822$4
1823int
1824main ()
1825{
1826static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1827test_array [0] = 0;
1828return test_array [0];
1829
1830  ;
1831  return 0;
1832}
1833_ACEOF
1834if ac_fn_c_try_compile "$LINENO"; then :
1835  ac_hi=$ac_mid; break
1836else
1837  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1838                        if test $ac_lo -le $ac_mid; then
1839                          ac_lo= ac_hi=
1840                          break
1841                        fi
1842                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1843fi
1844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845  done
1846else
1847  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848/* end confdefs.h.  */
1849$4
1850int
1851main ()
1852{
1853static int test_array [1 - 2 * !(($2) < 0)];
1854test_array [0] = 0;
1855return test_array [0];
1856
1857  ;
1858  return 0;
1859}
1860_ACEOF
1861if ac_fn_c_try_compile "$LINENO"; then :
1862  ac_hi=-1 ac_mid=-1
1863  while :; do
1864    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865/* end confdefs.h.  */
1866$4
1867int
1868main ()
1869{
1870static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1871test_array [0] = 0;
1872return test_array [0];
1873
1874  ;
1875  return 0;
1876}
1877_ACEOF
1878if ac_fn_c_try_compile "$LINENO"; then :
1879  ac_lo=$ac_mid; break
1880else
1881  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1882                        if test $ac_mid -le $ac_hi; then
1883                          ac_lo= ac_hi=
1884                          break
1885                        fi
1886                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1887fi
1888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889  done
1890else
1891  ac_lo= ac_hi=
1892fi
1893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894fi
1895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896# Binary search between lo and hi bounds.
1897while test "x$ac_lo" != "x$ac_hi"; do
1898  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900/* end confdefs.h.  */
1901$4
1902int
1903main ()
1904{
1905static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1906test_array [0] = 0;
1907return test_array [0];
1908
1909  ;
1910  return 0;
1911}
1912_ACEOF
1913if ac_fn_c_try_compile "$LINENO"; then :
1914  ac_hi=$ac_mid
1915else
1916  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1917fi
1918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1919done
1920case $ac_lo in #((
1921?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1922'') ac_retval=1 ;;
1923esac
1924  else
1925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926/* end confdefs.h.  */
1927$4
1928static long int longval () { return $2; }
1929static unsigned long int ulongval () { return $2; }
1930#include <stdio.h>
1931#include <stdlib.h>
1932int
1933main ()
1934{
1935
1936  FILE *f = fopen ("conftest.val", "w");
1937  if (! f)
1938    return 1;
1939  if (($2) < 0)
1940    {
1941      long int i = longval ();
1942      if (i != ($2))
1943        return 1;
1944      fprintf (f, "%ld", i);
1945    }
1946  else
1947    {
1948      unsigned long int i = ulongval ();
1949      if (i != ($2))
1950        return 1;
1951      fprintf (f, "%lu", i);
1952    }
1953  /* Do not output a trailing newline, as this causes \r\n confusion
1954     on some platforms.  */
1955  return ferror (f) || fclose (f) != 0;
1956
1957  ;
1958  return 0;
1959}
1960_ACEOF
1961if ac_fn_c_try_run "$LINENO"; then :
1962  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1963else
1964  ac_retval=1
1965fi
1966rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1967  conftest.$ac_objext conftest.beam conftest.$ac_ext
1968rm -f conftest.val
1969
1970  fi
1971  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972  as_fn_set_status $ac_retval
1973
1974} # ac_fn_c_compute_int
1975
1976# ac_fn_c_try_cpp LINENO
1977# ----------------------
1978# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979ac_fn_c_try_cpp ()
1980{
1981  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982  if { { ac_try="$ac_cpp conftest.$ac_ext"
1983case "(($ac_try" in
1984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985  *) ac_try_echo=$ac_try;;
1986esac
1987eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988$as_echo "$ac_try_echo"; } >&5
1989  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990  ac_status=$?
1991  if test -s conftest.err; then
1992    grep -v '^ *+' conftest.err >conftest.er1
1993    cat conftest.er1 >&5
1994    mv -f conftest.er1 conftest.err
1995  fi
1996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997  test $ac_status = 0; } > conftest.i && {
1998         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1999         test ! -s conftest.err
2000       }; then :
2001  ac_retval=0
2002else
2003  $as_echo "$as_me: failed program was:" >&5
2004sed 's/^/| /' conftest.$ac_ext >&5
2005
2006    ac_retval=1
2007fi
2008  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009  as_fn_set_status $ac_retval
2010
2011} # ac_fn_c_try_cpp
2012
2013# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2014# -------------------------------------------------------
2015# Tests whether HEADER exists and can be compiled using the include files in
2016# INCLUDES, setting the cache variable VAR accordingly.
2017ac_fn_c_check_header_compile ()
2018{
2019  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021$as_echo_n "checking for $2... " >&6; }
2022if eval \${$3+:} false; then :
2023  $as_echo_n "(cached) " >&6
2024else
2025  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026/* end confdefs.h.  */
2027$4
2028#include <$2>
2029_ACEOF
2030if ac_fn_c_try_compile "$LINENO"; then :
2031  eval "$3=yes"
2032else
2033  eval "$3=no"
2034fi
2035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036fi
2037eval ac_res=\$$3
2038               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039$as_echo "$ac_res" >&6; }
2040  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041
2042} # ac_fn_c_check_header_compile
2043
2044# ac_fn_c_try_link LINENO
2045# -----------------------
2046# Try to link conftest.$ac_ext, and return whether this succeeded.
2047ac_fn_c_try_link ()
2048{
2049  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050  rm -f conftest.$ac_objext conftest$ac_exeext
2051  if { { ac_try="$ac_link"
2052case "(($ac_try" in
2053  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054  *) ac_try_echo=$ac_try;;
2055esac
2056eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057$as_echo "$ac_try_echo"; } >&5
2058  (eval "$ac_link") 2>conftest.err
2059  ac_status=$?
2060  if test -s conftest.err; then
2061    grep -v '^ *+' conftest.err >conftest.er1
2062    cat conftest.er1 >&5
2063    mv -f conftest.er1 conftest.err
2064  fi
2065  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2066  test $ac_status = 0; } && {
2067         test -z "$ac_c_werror_flag" ||
2068         test ! -s conftest.err
2069       } && test -s conftest$ac_exeext && {
2070         test "$cross_compiling" = yes ||
2071         test -x conftest$ac_exeext
2072       }; then :
2073  ac_retval=0
2074else
2075  $as_echo "$as_me: failed program was:" >&5
2076sed 's/^/| /' conftest.$ac_ext >&5
2077
2078        ac_retval=1
2079fi
2080  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2081  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2082  # interfere with the next link command; also delete a directory that is
2083  # left behind by Apple's compiler.  We do this before executing the actions.
2084  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2085  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086  as_fn_set_status $ac_retval
2087
2088} # ac_fn_c_try_link
2089
2090# ac_fn_c_check_func LINENO FUNC VAR
2091# ----------------------------------
2092# Tests whether FUNC exists, setting the cache variable VAR accordingly
2093ac_fn_c_check_func ()
2094{
2095  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097$as_echo_n "checking for $2... " >&6; }
2098if eval \${$3+:} false; then :
2099  $as_echo_n "(cached) " >&6
2100else
2101  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102/* end confdefs.h.  */
2103/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2104   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2105#define $2 innocuous_$2
2106
2107/* System header to define __stub macros and hopefully few prototypes,
2108    which can conflict with char $2 (); below.
2109    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2110    <limits.h> exists even on freestanding compilers.  */
2111
2112#ifdef __STDC__
2113# include <limits.h>
2114#else
2115# include <assert.h>
2116#endif
2117
2118#undef $2
2119
2120/* Override any GCC internal prototype to avoid an error.
2121   Use char because int might match the return type of a GCC
2122   builtin and then its argument prototype would still apply.  */
2123#ifdef __cplusplus
2124extern "C"
2125#endif
2126char $2 ();
2127/* The GNU C library defines this for functions which it implements
2128    to always fail with ENOSYS.  Some functions are actually named
2129    something starting with __ and the normal name is an alias.  */
2130#if defined __stub_$2 || defined __stub___$2
2131choke me
2132#endif
2133
2134int
2135main ()
2136{
2137return $2 ();
2138  ;
2139  return 0;
2140}
2141_ACEOF
2142if ac_fn_c_try_link "$LINENO"; then :
2143  eval "$3=yes"
2144else
2145  eval "$3=no"
2146fi
2147rm -f core conftest.err conftest.$ac_objext \
2148    conftest$ac_exeext conftest.$ac_ext
2149fi
2150eval ac_res=\$$3
2151               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152$as_echo "$ac_res" >&6; }
2153  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2154
2155} # ac_fn_c_check_func
2156
2157# ac_fn_cxx_try_link LINENO
2158# -------------------------
2159# Try to link conftest.$ac_ext, and return whether this succeeded.
2160ac_fn_cxx_try_link ()
2161{
2162  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163  rm -f conftest.$ac_objext conftest$ac_exeext
2164  if { { ac_try="$ac_link"
2165case "(($ac_try" in
2166  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2167  *) ac_try_echo=$ac_try;;
2168esac
2169eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2170$as_echo "$ac_try_echo"; } >&5
2171  (eval "$ac_link") 2>conftest.err
2172  ac_status=$?
2173  if test -s conftest.err; then
2174    grep -v '^ *+' conftest.err >conftest.er1
2175    cat conftest.er1 >&5
2176    mv -f conftest.er1 conftest.err
2177  fi
2178  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2179  test $ac_status = 0; } && {
2180         test -z "$ac_cxx_werror_flag" ||
2181         test ! -s conftest.err
2182       } && test -s conftest$ac_exeext && {
2183         test "$cross_compiling" = yes ||
2184         test -x conftest$ac_exeext
2185       }; then :
2186  ac_retval=0
2187else
2188  $as_echo "$as_me: failed program was:" >&5
2189sed 's/^/| /' conftest.$ac_ext >&5
2190
2191        ac_retval=1
2192fi
2193  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2194  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2195  # interfere with the next link command; also delete a directory that is
2196  # left behind by Apple's compiler.  We do this before executing the actions.
2197  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2198  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2199  as_fn_set_status $ac_retval
2200
2201} # ac_fn_cxx_try_link
2202
2203# ac_fn_fc_try_link LINENO
2204# ------------------------
2205# Try to link conftest.$ac_ext, and return whether this succeeded.
2206ac_fn_fc_try_link ()
2207{
2208  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2209  rm -f conftest.$ac_objext conftest$ac_exeext
2210  if { { ac_try="$ac_link"
2211case "(($ac_try" in
2212  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213  *) ac_try_echo=$ac_try;;
2214esac
2215eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216$as_echo "$ac_try_echo"; } >&5
2217  (eval "$ac_link") 2>conftest.err
2218  ac_status=$?
2219  if test -s conftest.err; then
2220    grep -v '^ *+' conftest.err >conftest.er1
2221    cat conftest.er1 >&5
2222    mv -f conftest.er1 conftest.err
2223  fi
2224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2225  test $ac_status = 0; } && {
2226         test -z "$ac_fc_werror_flag" ||
2227         test ! -s conftest.err
2228       } && test -s conftest$ac_exeext && {
2229         test "$cross_compiling" = yes ||
2230         test -x conftest$ac_exeext
2231       }; then :
2232  ac_retval=0
2233else
2234  $as_echo "$as_me: failed program was:" >&5
2235sed 's/^/| /' conftest.$ac_ext >&5
2236
2237        ac_retval=1
2238fi
2239  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2240  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2241  # interfere with the next link command; also delete a directory that is
2242  # left behind by Apple's compiler.  We do this before executing the actions.
2243  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2244  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245  as_fn_set_status $ac_retval
2246
2247} # ac_fn_fc_try_link
2248cat >config.log <<_ACEOF
2249This file contains any messages produced by compilers while
2250running configure, to aid debugging if configure makes a mistake.
2251
2252It was created by cppad $as_me 20170522, which was
2253generated by GNU Autoconf 2.69.  Invocation command line was
2254
2255  $ $0 $@
2256
2257_ACEOF
2258exec 5>>config.log
2259{
2260cat <<_ASUNAME
2261## --------- ##
2262## Platform. ##
2263## --------- ##
2264
2265hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2266uname -m = `(uname -m) 2>/dev/null || echo unknown`
2267uname -r = `(uname -r) 2>/dev/null || echo unknown`
2268uname -s = `(uname -s) 2>/dev/null || echo unknown`
2269uname -v = `(uname -v) 2>/dev/null || echo unknown`
2270
2271/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2272/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2273
2274/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2275/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2276/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2277/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2278/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2279/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2280/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2281
2282_ASUNAME
2283
2284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285for as_dir in $PATH
2286do
2287  IFS=$as_save_IFS
2288  test -z "$as_dir" && as_dir=.
2289    $as_echo "PATH: $as_dir"
2290  done
2291IFS=$as_save_IFS
2292
2293} >&5
2294
2295cat >&5 <<_ACEOF
2296
2297
2298## ----------- ##
2299## Core tests. ##
2300## ----------- ##
2301
2302_ACEOF
2303
2304
2305# Keep a trace of the command line.
2306# Strip out --no-create and --no-recursion so they do not pile up.
2307# Strip out --silent because we don't want to record it for future runs.
2308# Also quote any args containing shell meta-characters.
2309# Make two passes to allow for proper duplicate-argument suppression.
2310ac_configure_args=
2311ac_configure_args0=
2312ac_configure_args1=
2313ac_must_keep_next=false
2314for ac_pass in 1 2
2315do
2316  for ac_arg
2317  do
2318    case $ac_arg in
2319    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2320    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2321    | -silent | --silent | --silen | --sile | --sil)
2322      continue ;;
2323    *\'*)
2324      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2325    esac
2326    case $ac_pass in
2327    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2328    2)
2329      as_fn_append ac_configure_args1 " '$ac_arg'"
2330      if test $ac_must_keep_next = true; then
2331        ac_must_keep_next=false # Got value, back to normal.
2332      else
2333        case $ac_arg in
2334          *=* | --config-cache | -C | -disable-* | --disable-* \
2335          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2336          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2337          | -with-* | --with-* | -without-* | --without-* | --x)
2338            case "$ac_configure_args0 " in
2339              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2340            esac
2341            ;;
2342          -* ) ac_must_keep_next=true ;;
2343        esac
2344      fi
2345      as_fn_append ac_configure_args " '$ac_arg'"
2346      ;;
2347    esac
2348  done
2349done
2350{ ac_configure_args0=; unset ac_configure_args0;}
2351{ ac_configure_args1=; unset ac_configure_args1;}
2352
2353# When interrupted or exit'd, cleanup temporary files, and complete
2354# config.log.  We remove comments because anyway the quotes in there
2355# would cause problems or look ugly.
2356# WARNING: Use '\'' to represent an apostrophe within the trap.
2357# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2358trap 'exit_status=$?
2359  # Save into config.log some information that might help in debugging.
2360  {
2361    echo
2362
2363    $as_echo "## ---------------- ##
2364## Cache variables. ##
2365## ---------------- ##"
2366    echo
2367    # The following way of writing the cache mishandles newlines in values,
2368(
2369  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2370    eval ac_val=\$$ac_var
2371    case $ac_val in #(
2372    *${as_nl}*)
2373      case $ac_var in #(
2374      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2375$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2376      esac
2377      case $ac_var in #(
2378      _ | IFS | as_nl) ;; #(
2379      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2380      *) { eval $ac_var=; unset $ac_var;} ;;
2381      esac ;;
2382    esac
2383  done
2384  (set) 2>&1 |
2385    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2386    *${as_nl}ac_space=\ *)
2387      sed -n \
2388        "s/'\''/'\''\\\\'\'''\''/g;
2389          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2390      ;; #(
2391    *)
2392      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2393      ;;
2394    esac |
2395    sort
2396)
2397    echo
2398
2399    $as_echo "## ----------------- ##
2400## Output variables. ##
2401## ----------------- ##"
2402    echo
2403    for ac_var in $ac_subst_vars
2404    do
2405      eval ac_val=\$$ac_var
2406      case $ac_val in
2407      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2408      esac
2409      $as_echo "$ac_var='\''$ac_val'\''"
2410    done | sort
2411    echo
2412
2413    if test -n "$ac_subst_files"; then
2414      $as_echo "## ------------------- ##
2415## File substitutions. ##
2416## ------------------- ##"
2417      echo
2418      for ac_var in $ac_subst_files
2419      do
2420        eval ac_val=\$$ac_var
2421        case $ac_val in
2422        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2423        esac
2424        $as_echo "$ac_var='\''$ac_val'\''"
2425      done | sort
2426      echo
2427    fi
2428
2429    if test -s confdefs.h; then
2430      $as_echo "## ----------- ##
2431## confdefs.h. ##
2432## ----------- ##"
2433      echo
2434      cat confdefs.h
2435      echo
2436    fi
2437    test "$ac_signal" != 0 &&
2438      $as_echo "$as_me: caught signal $ac_signal"
2439    $as_echo "$as_me: exit $exit_status"
2440  } >&5
2441  rm -f core *.core core.conftest.* &&
2442    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2443    exit $exit_status
2444' 0
2445for ac_signal in 1 2 13 15; do
2446  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2447done
2448ac_signal=0
2449
2450# confdefs.h avoids OS command line length limits that DEFS can exceed.
2451rm -f -r conftest* confdefs.h
2452
2453$as_echo "/* confdefs.h */" > confdefs.h
2454
2455# Predefined preprocessor variables.
2456
2457cat >>confdefs.h <<_ACEOF
2458#define PACKAGE_NAME "$PACKAGE_NAME"
2459_ACEOF
2460
2461cat >>confdefs.h <<_ACEOF
2462#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2463_ACEOF
2464
2465cat >>confdefs.h <<_ACEOF
2466#define PACKAGE_VERSION "$PACKAGE_VERSION"
2467_ACEOF
2468
2469cat >>confdefs.h <<_ACEOF
2470#define PACKAGE_STRING "$PACKAGE_STRING"
2471_ACEOF
2472
2473cat >>confdefs.h <<_ACEOF
2474#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2475_ACEOF
2476
2477cat >>confdefs.h <<_ACEOF
2478#define PACKAGE_URL "$PACKAGE_URL"
2479_ACEOF
2480
2481
2482# Let the site file select an alternate cache file if it wants to.
2483# Prefer an explicitly selected file to automatically selected ones.
2484ac_site_file1=NONE
2485ac_site_file2=NONE
2486if test -n "$CONFIG_SITE"; then
2487  # We do not want a PATH search for config.site.
2488  case $CONFIG_SITE in #((
2489    -*)  ac_site_file1=./$CONFIG_SITE;;
2490    */*) ac_site_file1=$CONFIG_SITE;;
2491    *)   ac_site_file1=./$CONFIG_SITE;;
2492  esac
2493elif test "x$prefix" != xNONE; then
2494  ac_site_file1=$prefix/share/config.site
2495  ac_site_file2=$prefix/etc/config.site
2496else
2497  ac_site_file1=$ac_default_prefix/share/config.site
2498  ac_site_file2=$ac_default_prefix/etc/config.site
2499fi
2500for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2501do
2502  test "x$ac_site_file" = xNONE && continue
2503  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2504    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2505$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2506    sed 's/^/| /' "$ac_site_file" >&5
2507    . "$ac_site_file" \
2508      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2509$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510as_fn_error $? "failed to load site script $ac_site_file
2511See \`config.log' for more details" "$LINENO" 5; }
2512  fi
2513done
2514
2515if test -r "$cache_file"; then
2516  # Some versions of bash will fail to source /dev/null (special files
2517  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2518  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2519    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2520$as_echo "$as_me: loading cache $cache_file" >&6;}
2521    case $cache_file in
2522      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2523      *)                      . "./$cache_file";;
2524    esac
2525  fi
2526else
2527  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2528$as_echo "$as_me: creating cache $cache_file" >&6;}
2529  >$cache_file
2530fi
2531
2532# Check that the precious variables saved in the cache have kept the same
2533# value.
2534ac_cache_corrupted=false
2535for ac_var in $ac_precious_vars; do
2536  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2537  eval ac_new_set=\$ac_env_${ac_var}_set
2538  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2539  eval ac_new_val=\$ac_env_${ac_var}_value
2540  case $ac_old_set,$ac_new_set in
2541    set,)
2542      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2543$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2544      ac_cache_corrupted=: ;;
2545    ,set)
2546      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2547$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2548      ac_cache_corrupted=: ;;
2549    ,);;
2550    *)
2551      if test "x$ac_old_val" != "x$ac_new_val"; then
2552        # differences in whitespace do not lead to failure.
2553        ac_old_val_w=`echo x $ac_old_val`
2554        ac_new_val_w=`echo x $ac_new_val`
2555        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2556          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2557$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2558          ac_cache_corrupted=:
2559        else
2560          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2561$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2562          eval $ac_var=\$ac_old_val
2563        fi
2564        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2565$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2566        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2567$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2568      fi;;
2569  esac
2570  # Pass precious variables to config.status.
2571  if test "$ac_new_set" = set; then
2572    case $ac_new_val in
2573    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2574    *) ac_arg=$ac_var=$ac_new_val ;;
2575    esac
2576    case " $ac_configure_args " in
2577      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2578      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2579    esac
2580  fi
2581done
2582if $ac_cache_corrupted; then
2583  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2586$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2587  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2588fi
2589## -------------------- ##
2590## Main body of script. ##
2591## -------------------- ##
2592
2593ac_ext=c
2594ac_cpp='$CPP $CPPFLAGS'
2595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598
2599
2600# Check whether --enable-silent-rules was given.
2601if test "${enable_silent_rules+set}" = set; then :
2602  enableval=$enable_silent_rules;
2603fi
2604
2605case $enable_silent_rules in # (((
2606  yes) AM_DEFAULT_VERBOSITY=0;;
2607   no) AM_DEFAULT_VERBOSITY=1;;
2608    *) AM_DEFAULT_VERBOSITY=0;;
2609esac
2610am_make=${MAKE-make}
2611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2612$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2613if ${am_cv_make_support_nested_variables+:} false; then :
2614  $as_echo_n "(cached) " >&6
2615else
2616  if $as_echo 'TRUE=$(BAR$(V))
2617BAR0=false
2618BAR1=true
2619V=1
2620am__doit:
2621        @$(TRUE)
2622.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2623  am_cv_make_support_nested_variables=yes
2624else
2625  am_cv_make_support_nested_variables=no
2626fi
2627fi
2628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2629$as_echo "$am_cv_make_support_nested_variables" >&6; }
2630if test $am_cv_make_support_nested_variables = yes; then
2631    AM_V='$(V)'
2632  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2633else
2634  AM_V=$AM_DEFAULT_VERBOSITY
2635  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2636fi
2637AM_BACKSLASH='\'
2638
2639
2640
2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2642$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2643    # Check whether --enable-maintainer-mode was given.
2644if test "${enable_maintainer_mode+set}" = set; then :
2645  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2646else
2647  USE_MAINTAINER_MODE=no
2648fi
2649
2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2651$as_echo "$USE_MAINTAINER_MODE" >&6; }
2652   if test $USE_MAINTAINER_MODE = yes; then
2653  MAINTAINER_MODE_TRUE=
2654  MAINTAINER_MODE_FALSE='#'
2655else
2656  MAINTAINER_MODE_TRUE='#'
2657  MAINTAINER_MODE_FALSE=
2658fi
2659
2660  MAINT=$MAINTAINER_MODE_TRUE
2661
2662
2663
2664
2665
2666am__api_version='1.15'
2667
2668ac_aux_dir=
2669for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2670  if test -f "$ac_dir/install-sh"; then
2671    ac_aux_dir=$ac_dir
2672    ac_install_sh="$ac_aux_dir/install-sh -c"
2673    break
2674  elif test -f "$ac_dir/install.sh"; then
2675    ac_aux_dir=$ac_dir
2676    ac_install_sh="$ac_aux_dir/install.sh -c"
2677    break
2678  elif test -f "$ac_dir/shtool"; then
2679    ac_aux_dir=$ac_dir
2680    ac_install_sh="$ac_aux_dir/shtool install -c"
2681    break
2682  fi
2683done
2684if test -z "$ac_aux_dir"; then
2685  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2686fi
2687
2688# These three variables are undocumented and unsupported,
2689# and are intended to be withdrawn in a future Autoconf release.
2690# They can cause serious problems if a builder's source tree is in a directory
2691# whose full name contains unusual characters.
2692ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2693ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2694ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2695
2696
2697# Find a good install program.  We prefer a C program (faster),
2698# so one script is as good as another.  But avoid the broken or
2699# incompatible versions:
2700# SysV /etc/install, /usr/sbin/install
2701# SunOS /usr/etc/install
2702# IRIX /sbin/install
2703# AIX /bin/install
2704# AmigaOS /C/install, which installs bootblocks on floppy discs
2705# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2706# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2707# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2708# OS/2's system install, which has a completely different semantic
2709# ./install, which can be erroneously created by make from ./install.sh.
2710# Reject install programs that cannot install multiple files.
2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2712$as_echo_n "checking for a BSD-compatible install... " >&6; }
2713if test -z "$INSTALL"; then
2714if ${ac_cv_path_install+:} false; then :
2715  $as_echo_n "(cached) " >&6
2716else
2717  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718for as_dir in $PATH
2719do
2720  IFS=$as_save_IFS
2721  test -z "$as_dir" && as_dir=.
2722    # Account for people who put trailing slashes in PATH elements.
2723case $as_dir/ in #((
2724  ./ | .// | /[cC]/* | \
2725  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2726  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2727  /usr/ucb/* ) ;;
2728  *)
2729    # OSF1 and SCO ODT 3.0 have their own names for install.
2730    # Don't use installbsd from OSF since it installs stuff as root
2731    # by default.
2732    for ac_prog in ginstall scoinst install; do
2733      for ac_exec_ext in '' $ac_executable_extensions; do
2734        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2735          if test $ac_prog = install &&
2736            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2737            # AIX install.  It has an incompatible calling convention.
2738            :
2739          elif test $ac_prog = install &&
2740            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2741            # program-specific install script used by HP pwplus--don't use.
2742            :
2743          else
2744            rm -rf conftest.one conftest.two conftest.dir
2745            echo one > conftest.one
2746            echo two > conftest.two
2747            mkdir conftest.dir
2748            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2749              test -s conftest.one && test -s conftest.two &&
2750              test -s conftest.dir/conftest.one &&
2751              test -s conftest.dir/conftest.two
2752            then
2753              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2754              break 3
2755            fi
2756          fi
2757        fi
2758      done
2759    done
2760    ;;
2761esac
2762
2763  done
2764IFS=$as_save_IFS
2765
2766rm -rf conftest.one conftest.two conftest.dir
2767
2768fi
2769  if test "${ac_cv_path_install+set}" = set; then
2770    INSTALL=$ac_cv_path_install
2771  else
2772    # As a last resort, use the slow shell script.  Don't cache a
2773    # value for INSTALL within a source directory, because that will
2774    # break other packages using the cache if that directory is
2775    # removed, or if the value is a relative name.
2776    INSTALL=$ac_install_sh
2777  fi
2778fi
2779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2780$as_echo "$INSTALL" >&6; }
2781
2782# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2783# It thinks the first close brace ends the variable substitution.
2784test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2785
2786test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2787
2788test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2789
2790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2791$as_echo_n "checking whether build environment is sane... " >&6; }
2792# Reject unsafe characters in $srcdir or the absolute working directory
2793# name.  Accept space and tab only in the latter.
2794am_lf='
2795'
2796case `pwd` in
2797  *[\\\"\#\$\&\'\`$am_lf]*)
2798    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2799esac
2800case $srcdir in
2801  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2802    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2803esac
2804
2805# Do 'set' in a subshell so we don't clobber the current shell's
2806# arguments.  Must try -L first in case configure is actually a
2807# symlink; some systems play weird games with the mod time of symlinks
2808# (eg FreeBSD returns the mod time of the symlink's containing
2809# directory).
2810if (
2811   am_has_slept=no
2812   for am_try in 1 2; do
2813     echo "timestamp, slept: $am_has_slept" > conftest.file
2814     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2815     if test "$*" = "X"; then
2816        # -L didn't work.
2817        set X `ls -t "$srcdir/configure" conftest.file`
2818     fi
2819     if test "$*" != "X $srcdir/configure conftest.file" \
2820        && test "$*" != "X conftest.file $srcdir/configure"; then
2821
2822        # If neither matched, then we have a broken ls.  This can happen
2823        # if, for instance, CONFIG_SHELL is bash and it inherits a
2824        # broken ls alias from the environment.  This has actually
2825        # happened.  Such a system could not be considered "sane".
2826        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2827  alias in your environment" "$LINENO" 5
2828     fi
2829     if test "$2" = conftest.file || test $am_try -eq 2; then
2830       break
2831     fi
2832     # Just in case.
2833     sleep 1
2834     am_has_slept=yes
2835   done
2836   test "$2" = conftest.file
2837   )
2838then
2839   # Ok.
2840   :
2841else
2842   as_fn_error $? "newly created file is older than distributed files!
2843Check your system clock" "$LINENO" 5
2844fi
2845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2846$as_echo "yes" >&6; }
2847# If we didn't sleep, we still need to ensure time stamps of config.status and
2848# generated files are strictly newer.
2849am_sleep_pid=
2850if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2851  ( sleep 1 ) &
2852  am_sleep_pid=$!
2853fi
2854
2855rm -f conftest.file
2856
2857test "$program_prefix" != NONE &&
2858  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2859# Use a double $ so make ignores it.
2860test "$program_suffix" != NONE &&
2861  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2862# Double any \ or $.
2863# By default was `s,x,x', remove it if useless.
2864ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2865program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2866
2867# Expand $ac_aux_dir to an absolute path.
2868am_aux_dir=`cd "$ac_aux_dir" && pwd`
2869
2870if test x"${MISSING+set}" != xset; then
2871  case $am_aux_dir in
2872  *\ * | *\     *)
2873    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2874  *)
2875    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2876  esac
2877fi
2878# Use eval to expand $SHELL
2879if eval "$MISSING --is-lightweight"; then
2880  am_missing_run="$MISSING "
2881else
2882  am_missing_run=
2883  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2884$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2885fi
2886
2887if test x"${install_sh+set}" != xset; then
2888  case $am_aux_dir in
2889  *\ * | *\     *)
2890    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2891  *)
2892    install_sh="\${SHELL} $am_aux_dir/install-sh"
2893  esac
2894fi
2895
2896# Installed binaries are usually stripped using 'strip' when the user
2897# run "make install-strip".  However 'strip' might not be the right
2898# tool to use in cross-compilation environments, therefore Automake
2899# will honor the 'STRIP' environment variable to overrule this program.
2900if test "$cross_compiling" != no; then
2901  if test -n "$ac_tool_prefix"; then
2902  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2903set dummy ${ac_tool_prefix}strip; ac_word=$2
2904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905$as_echo_n "checking for $ac_word... " >&6; }
2906if ${ac_cv_prog_STRIP+:} false; then :
2907  $as_echo_n "(cached) " >&6
2908else
2909  if test -n "$STRIP"; then
2910  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2911else
2912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2913for as_dir in $PATH
2914do
2915  IFS=$as_save_IFS
2916  test -z "$as_dir" && as_dir=.
2917    for ac_exec_ext in '' $ac_executable_extensions; do
2918  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921    break 2
2922  fi
2923done
2924  done
2925IFS=$as_save_IFS
2926
2927fi
2928fi
2929STRIP=$ac_cv_prog_STRIP
2930if test -n "$STRIP"; then
2931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2932$as_echo "$STRIP" >&6; }
2933else
2934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935$as_echo "no" >&6; }
2936fi
2937
2938
2939fi
2940if test -z "$ac_cv_prog_STRIP"; then
2941  ac_ct_STRIP=$STRIP
2942  # Extract the first word of "strip", so it can be a program name with args.
2943set dummy strip; ac_word=$2
2944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945$as_echo_n "checking for $ac_word... " >&6; }
2946if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2947  $as_echo_n "(cached) " >&6
2948else
2949  if test -n "$ac_ct_STRIP"; then
2950  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2951else
2952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953for as_dir in $PATH
2954do
2955  IFS=$as_save_IFS
2956  test -z "$as_dir" && as_dir=.
2957    for ac_exec_ext in '' $ac_executable_extensions; do
2958  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2959    ac_cv_prog_ac_ct_STRIP="strip"
2960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961    break 2
2962  fi
2963done
2964  done
2965IFS=$as_save_IFS
2966
2967fi
2968fi
2969ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2970if test -n "$ac_ct_STRIP"; then
2971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2972$as_echo "$ac_ct_STRIP" >&6; }
2973else
2974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975$as_echo "no" >&6; }
2976fi
2977
2978  if test "x$ac_ct_STRIP" = x; then
2979    STRIP=":"
2980  else
2981    case $cross_compiling:$ac_tool_warned in
2982yes:)
2983{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2984$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2985ac_tool_warned=yes ;;
2986esac
2987    STRIP=$ac_ct_STRIP
2988  fi
2989else
2990  STRIP="$ac_cv_prog_STRIP"
2991fi
2992
2993fi
2994INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2995
2996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2997$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2998if test -z "$MKDIR_P"; then
2999  if ${ac_cv_path_mkdir+:} false; then :
3000  $as_echo_n "(cached) " >&6
3001else
3002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3004do
3005  IFS=$as_save_IFS
3006  test -z "$as_dir" && as_dir=.
3007    for ac_prog in mkdir gmkdir; do
3008         for ac_exec_ext in '' $ac_executable_extensions; do
3009           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3010           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3011             'mkdir (GNU coreutils) '* | \
3012             'mkdir (coreutils) '* | \
3013             'mkdir (fileutils) '4.1*)
3014               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3015               break 3;;
3016           esac
3017         done
3018       done
3019  done
3020IFS=$as_save_IFS
3021
3022fi
3023
3024  test -d ./--version && rmdir ./--version
3025  if test "${ac_cv_path_mkdir+set}" = set; then
3026    MKDIR_P="$ac_cv_path_mkdir -p"
3027  else
3028    # As a last resort, use the slow shell script.  Don't cache a
3029    # value for MKDIR_P within a source directory, because that will
3030    # break other packages using the cache if that directory is
3031    # removed, or if the value is a relative name.
3032    MKDIR_P="$ac_install_sh -d"
3033  fi
3034fi
3035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3036$as_echo "$MKDIR_P" >&6; }
3037
3038for ac_prog in gawk mawk nawk awk
3039do
3040  # Extract the first word of "$ac_prog", so it can be a program name with args.
3041set dummy $ac_prog; ac_word=$2
3042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043$as_echo_n "checking for $ac_word... " >&6; }
3044if ${ac_cv_prog_AWK+:} false; then :
3045  $as_echo_n "(cached) " >&6
3046else
3047  if test -n "$AWK"; then
3048  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3049else
3050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051for as_dir in $PATH
3052do
3053  IFS=$as_save_IFS
3054  test -z "$as_dir" && as_dir=.
3055    for ac_exec_ext in '' $ac_executable_extensions; do
3056  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3057    ac_cv_prog_AWK="$ac_prog"
3058    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059    break 2
3060  fi
3061done
3062  done
3063IFS=$as_save_IFS
3064
3065fi
3066fi
3067AWK=$ac_cv_prog_AWK
3068if test -n "$AWK"; then
3069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3070$as_echo "$AWK" >&6; }
3071else
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073$as_echo "no" >&6; }
3074fi
3075
3076
3077  test -n "$AWK" && break
3078done
3079
3080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3081$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3082set x ${MAKE-make}
3083ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3084if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3085  $as_echo_n "(cached) " >&6
3086else
3087  cat >conftest.make <<\_ACEOF
3088SHELL = /bin/sh
3089all:
3090        @echo '@@@%%%=$(MAKE)=@@@%%%'
3091_ACEOF
3092# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3093case `${MAKE-make} -f conftest.make 2>/dev/null` in
3094  *@@@%%%=?*=@@@%%%*)
3095    eval ac_cv_prog_make_${ac_make}_set=yes;;
3096  *)
3097    eval ac_cv_prog_make_${ac_make}_set=no;;
3098esac
3099rm -f conftest.make
3100fi
3101if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3103$as_echo "yes" >&6; }
3104  SET_MAKE=
3105else
3106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107$as_echo "no" >&6; }
3108  SET_MAKE="MAKE=${MAKE-make}"
3109fi
3110
3111rm -rf .tst 2>/dev/null
3112mkdir .tst 2>/dev/null
3113if test -d .tst; then
3114  am__leading_dot=.
3115else
3116  am__leading_dot=_
3117fi
3118rmdir .tst 2>/dev/null
3119
3120if test "`cd $srcdir && pwd`" != "`pwd`"; then
3121  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3122  # is not polluted with repeated "-I."
3123  am__isrc=' -I$(srcdir)'
3124  # test to see if srcdir already configured
3125  if test -f $srcdir/config.status; then
3126    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3127  fi
3128fi
3129
3130# test whether we have cygpath
3131if test -z "$CYGPATH_W"; then
3132  if (cygpath --version) >/dev/null 2>/dev/null; then
3133    CYGPATH_W='cygpath -w'
3134  else
3135    CYGPATH_W=echo
3136  fi
3137fi
3138
3139
3140# Define the identity of the package.
3141 PACKAGE='cppad'
3142 VERSION='20170522'
3143
3144
3145cat >>confdefs.h <<_ACEOF
3146#define PACKAGE "$PACKAGE"
3147_ACEOF
3148
3149
3150cat >>confdefs.h <<_ACEOF
3151#define VERSION "$VERSION"
3152_ACEOF
3153
3154# Some tools Automake needs.
3155
3156ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3157
3158
3159AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3160
3161
3162AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3163
3164
3165AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3166
3167
3168MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3169
3170# For better backward compatibility.  To be removed once Automake 1.9.x
3171# dies out for good.  For more background, see:
3172# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3173# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3174mkdir_p='$(MKDIR_P)'
3175
3176# We need awk for the "check" target (and possibly the TAP driver).  The
3177# system "awk" is bad on some platforms.
3178# Always define AMTAR for backward compatibility.  Yes, it's still used
3179# in the wild :-(  We should find a proper way to deprecate it ...
3180AMTAR='$${TAR-tar}'
3181
3182
3183# We'll loop over all known methods to create a tar archive until one works.
3184_am_tools='gnutar  pax cpio none'
3185
3186am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3187
3188
3189
3190
3191
3192
3193# POSIX will say in a future version that running "rm -f" with no argument
3194# is OK; and we want to be able to make that assumption in our Makefile
3195# recipes.  So use an aggressive probe to check that the usage we want is
3196# actually supported "in the wild" to an acceptable degree.
3197# See automake bug#10828.
3198# To make any issue more visible, cause the running configure to be aborted
3199# by default if the 'rm' program in use doesn't match our expectations; the
3200# user can still override this though.
3201if rm -f && rm -fr && rm -rf; then : OK; else
3202  cat >&2 <<'END'
3203Oops!
3204
3205Your 'rm' program seems unable to run without file operands specified
3206on the command line, even when the '-f' option is present.  This is contrary
3207to the behaviour of most rm programs out there, and not conforming with
3208the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3209
3210Please tell bug-automake@gnu.org about your system, including the value
3211of your $PATH and any error possibly output before this message.  This
3212can help us improve future automake versions.
3213
3214END
3215  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3216    echo 'Configuration will proceed anyway, since you have set the' >&2
3217    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3218    echo >&2
3219  else
3220    cat >&2 <<'END'
3221Aborting the configuration process, to ensure you take notice of the issue.
3222
3223You can download and install GNU coreutils to get an 'rm' implementation
3224that behaves properly: <http://www.gnu.org/software/coreutils/>.
3225
3226If you want to complete the configuration process using your problematic
3227'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3228to "yes", and re-run configure.
3229
3230END
3231    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3232  fi
3233fi
3234
3235
3236# check if we have ar program
3237have_ar='yes'
3238DEPDIR="${am__leading_dot}deps"
3239
3240ac_config_commands="$ac_config_commands depfiles"
3241
3242
3243am_make=${MAKE-make}
3244cat > confinc << 'END'
3245am__doit:
3246        @echo this is the am__doit target
3247.PHONY: am__doit
3248END
3249# If we don't find an include directive, just comment out the code.
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3251$as_echo_n "checking for style of include used by $am_make... " >&6; }
3252am__include="#"
3253am__quote=
3254_am_result=none
3255# First try GNU make style include.
3256echo "include confinc" > confmf
3257# Ignore all kinds of additional output from 'make'.
3258case `$am_make -s -f confmf 2> /dev/null` in #(
3259*the\ am__doit\ target*)
3260  am__include=include
3261  am__quote=
3262  _am_result=GNU
3263  ;;
3264esac
3265# Now try BSD make style include.
3266if test "$am__include" = "#"; then
3267   echo '.include "confinc"' > confmf
3268   case `$am_make -s -f confmf 2> /dev/null` in #(
3269   *the\ am__doit\ target*)
3270     am__include=.include
3271     am__quote="\""
3272     _am_result=BSD
3273     ;;
3274   esac
3275fi
3276
3277
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3279$as_echo "$_am_result" >&6; }
3280rm -f confinc confmf
3281
3282# Check whether --enable-dependency-tracking was given.
3283if test "${enable_dependency_tracking+set}" = set; then :
3284  enableval=$enable_dependency_tracking;
3285fi
3286
3287if test "x$enable_dependency_tracking" != xno; then
3288  am_depcomp="$ac_aux_dir/depcomp"
3289  AMDEPBACKSLASH='\'
3290  am__nodep='_no'
3291fi
3292 if test "x$enable_dependency_tracking" != xno; then
3293  AMDEP_TRUE=
3294  AMDEP_FALSE='#'
3295else
3296  AMDEP_TRUE='#'
3297  AMDEP_FALSE=
3298fi
3299
3300
3301ac_ext=c
3302ac_cpp='$CPP $CPPFLAGS'
3303ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306if test -n "$ac_tool_prefix"; then
3307  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3308set dummy ${ac_tool_prefix}gcc; ac_word=$2
3309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310$as_echo_n "checking for $ac_word... " >&6; }
3311if ${ac_cv_prog_CC+:} false; then :
3312  $as_echo_n "(cached) " >&6
3313else
3314  if test -n "$CC"; then
3315  ac_cv_prog_CC="$CC" # Let the user override the test.
3316else
3317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318for as_dir in $PATH
3319do
3320  IFS=$as_save_IFS
3321  test -z "$as_dir" && as_dir=.
3322    for ac_exec_ext in '' $ac_executable_extensions; do
3323  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3324    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3325    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326    break 2
3327  fi
3328done
3329  done
3330IFS=$as_save_IFS
3331
3332fi
3333fi
3334CC=$ac_cv_prog_CC
3335if test -n "$CC"; then
3336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3337$as_echo "$CC" >&6; }
3338else
3339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340$as_echo "no" >&6; }
3341fi
3342
3343
3344fi
3345if test -z "$ac_cv_prog_CC"; then
3346  ac_ct_CC=$CC
3347  # Extract the first word of "gcc", so it can be a program name with args.
3348set dummy gcc; ac_word=$2
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350$as_echo_n "checking for $ac_word... " >&6; }
3351if ${ac_cv_prog_ac_ct_CC+:} false; then :
3352  $as_echo_n "(cached) " >&6
3353else
3354  if test -n "$ac_ct_CC"; then
3355  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3356else
3357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358for as_dir in $PATH
3359do
3360  IFS=$as_save_IFS
3361  test -z "$as_dir" && as_dir=.
3362    for ac_exec_ext in '' $ac_executable_extensions; do
3363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364    ac_cv_prog_ac_ct_CC="gcc"
3365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366    break 2
3367  fi
3368done
3369  done
3370IFS=$as_save_IFS
3371
3372fi
3373fi
3374ac_ct_CC=$ac_cv_prog_ac_ct_CC
3375if test -n "$ac_ct_CC"; then
3376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3377$as_echo "$ac_ct_CC" >&6; }
3378else
3379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380$as_echo "no" >&6; }
3381fi
3382
3383  if test "x$ac_ct_CC" = x; then
3384    CC=""
3385  else
3386    case $cross_compiling:$ac_tool_warned in
3387yes:)
3388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3390ac_tool_warned=yes ;;
3391esac
3392    CC=$ac_ct_CC
3393  fi
3394else
3395  CC="$ac_cv_prog_CC"
3396fi
3397
3398if test -z "$CC"; then
3399          if test -n "$ac_tool_prefix"; then
3400    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3401set dummy ${ac_tool_prefix}cc; ac_word=$2
3402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403$as_echo_n "checking for $ac_word... " >&6; }
3404if ${ac_cv_prog_CC+:} false; then :
3405  $as_echo_n "(cached) " >&6
3406else
3407  if test -n "$CC"; then
3408  ac_cv_prog_CC="$CC" # Let the user override the test.
3409else
3410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411for as_dir in $PATH
3412do
3413  IFS=$as_save_IFS
3414  test -z "$as_dir" && as_dir=.
3415    for ac_exec_ext in '' $ac_executable_extensions; do
3416  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417    ac_cv_prog_CC="${ac_tool_prefix}cc"
3418    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419    break 2
3420  fi
3421done
3422  done
3423IFS=$as_save_IFS
3424
3425fi
3426fi
3427CC=$ac_cv_prog_CC
3428if test -n "$CC"; then
3429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3430$as_echo "$CC" >&6; }
3431else
3432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433$as_echo "no" >&6; }
3434fi
3435
3436
3437  fi
3438fi
3439if test -z "$CC"; then
3440  # Extract the first word of "cc", so it can be a program name with args.
3441set dummy cc; ac_word=$2
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443$as_echo_n "checking for $ac_word... " >&6; }
3444if ${ac_cv_prog_CC+:} false; then :
3445  $as_echo_n "(cached) " >&6
3446else
3447  if test -n "$CC"; then
3448  ac_cv_prog_CC="$CC" # Let the user override the test.
3449else
3450  ac_prog_rejected=no
3451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452for as_dir in $PATH
3453do
3454  IFS=$as_save_IFS
3455  test -z "$as_dir" && as_dir=.
3456    for ac_exec_ext in '' $ac_executable_extensions; do
3457  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3459       ac_prog_rejected=yes
3460       continue
3461     fi
3462    ac_cv_prog_CC="cc"
3463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3464    break 2
3465  fi
3466done
3467  done
3468IFS=$as_save_IFS
3469
3470if test $ac_prog_rejected = yes; then
3471  # We found a bogon in the path, so make sure we never use it.
3472  set dummy $ac_cv_prog_CC
3473  shift
3474  if test $# != 0; then
3475    # We chose a different compiler from the bogus one.
3476    # However, it has the same basename, so the bogon will be chosen
3477    # first if we set CC to just the basename; use the full file name.
3478    shift
3479    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3480  fi
3481fi
3482fi
3483fi
3484CC=$ac_cv_prog_CC
3485if test -n "$CC"; then
3486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3487$as_echo "$CC" >&6; }
3488else
3489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490$as_echo "no" >&6; }
3491fi
3492
3493
3494fi
3495if test -z "$CC"; then
3496  if test -n "$ac_tool_prefix"; then
3497  for ac_prog in cl.exe
3498  do
3499    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3500set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502$as_echo_n "checking for $ac_word... " >&6; }
3503if ${ac_cv_prog_CC+:} false; then :
3504  $as_echo_n "(cached) " >&6
3505else
3506  if test -n "$CC"; then
3507  ac_cv_prog_CC="$CC" # Let the user override the test.
3508else
3509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510for as_dir in $PATH
3511do
3512  IFS=$as_save_IFS
3513  test -z "$as_dir" && as_dir=.
3514    for ac_exec_ext in '' $ac_executable_extensions; do
3515  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3516    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518    break 2
3519  fi
3520done
3521  done
3522IFS=$as_save_IFS
3523
3524fi
3525fi
3526CC=$ac_cv_prog_CC
3527if test -n "$CC"; then
3528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3529$as_echo "$CC" >&6; }
3530else
3531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532$as_echo "no" >&6; }
3533fi
3534
3535
3536    test -n "$CC" && break
3537  done
3538fi
3539if test -z "$CC"; then
3540  ac_ct_CC=$CC
3541  for ac_prog in cl.exe
3542do
3543  # Extract the first word of "$ac_prog", so it can be a program name with args.
3544set dummy $ac_prog; ac_word=$2
3545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546$as_echo_n "checking for $ac_word... " >&6; }
3547if ${ac_cv_prog_ac_ct_CC+:} false; then :
3548  $as_echo_n "(cached) " >&6
3549else
3550  if test -n "$ac_ct_CC"; then
3551  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3552else
3553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554for as_dir in $PATH
3555do
3556  IFS=$as_save_IFS
3557  test -z "$as_dir" && as_dir=.
3558    for ac_exec_ext in '' $ac_executable_extensions; do
3559  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560    ac_cv_prog_ac_ct_CC="$ac_prog"
3561    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562    break 2
3563  fi
3564done
3565  done
3566IFS=$as_save_IFS
3567
3568fi
3569fi
3570ac_ct_CC=$ac_cv_prog_ac_ct_CC
3571if test -n "$ac_ct_CC"; then
3572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3573$as_echo "$ac_ct_CC" >&6; }
3574else
3575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576$as_echo "no" >&6; }
3577fi
3578
3579
3580  test -n "$ac_ct_CC" && break
3581done
3582
3583  if test "x$ac_ct_CC" = x; then
3584    CC=""
3585  else
3586    case $cross_compiling:$ac_tool_warned in
3587yes:)
3588{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590ac_tool_warned=yes ;;
3591esac
3592    CC=$ac_ct_CC
3593  fi
3594fi
3595
3596fi
3597
3598
3599test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601as_fn_error $? "no acceptable C compiler found in \$PATH
3602See \`config.log' for more details" "$LINENO" 5; }
3603
3604# Provide some information about the compiler.
3605$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3606set X $ac_compile
3607ac_compiler=$2
3608for ac_option in --version -v -V -qversion; do
3609  { { ac_try="$ac_compiler $ac_option >&5"
3610case "(($ac_try" in
3611  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612  *) ac_try_echo=$ac_try;;
3613esac
3614eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615$as_echo "$ac_try_echo"; } >&5
3616  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3617  ac_status=$?
3618  if test -s conftest.err; then
3619    sed '10a\
3620... rest of stderr output deleted ...
3621         10q' conftest.err >conftest.er1
3622    cat conftest.er1 >&5
3623  fi
3624  rm -f conftest.er1 conftest.err
3625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3626  test $ac_status = 0; }
3627done
3628
3629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630/* end confdefs.h.  */
3631
3632int
3633main ()
3634{
3635
3636  ;
3637  return 0;
3638}
3639_ACEOF
3640ac_clean_files_save=$ac_clean_files
3641ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3642# Try to create an executable without -o first, disregard a.out.
3643# It will help us diagnose broken compilers, and finding out an intuition
3644# of exeext.
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3646$as_echo_n "checking whether the C compiler works... " >&6; }
3647ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3648
3649# The possible output files:
3650ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3651
3652ac_rmfiles=
3653for ac_file in $ac_files
3654do
3655  case $ac_file in
3656    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3657    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3658  esac
3659done
3660rm -f $ac_rmfiles
3661
3662if { { ac_try="$ac_link_default"
3663case "(($ac_try" in
3664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665  *) ac_try_echo=$ac_try;;
3666esac
3667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668$as_echo "$ac_try_echo"; } >&5
3669  (eval "$ac_link_default") 2>&5
3670  ac_status=$?
3671  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672  test $ac_status = 0; }; then :
3673  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3674# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3675# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3676# so that the user can short-circuit this test for compilers unknown to
3677# Autoconf.
3678for ac_file in $ac_files ''
3679do
3680  test -f "$ac_file" || continue
3681  case $ac_file in
3682    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3683        ;;
3684    [ab].out )
3685        # We found the default executable, but exeext='' is most
3686        # certainly right.
3687        break;;
3688    *.* )
3689        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3690        then :; else
3691           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3692        fi
3693        # We set ac_cv_exeext here because the later test for it is not
3694        # safe: cross compilers may not add the suffix if given an `-o'
3695        # argument, so we may need to know it at that point already.
3696        # Even if this section looks crufty: it has the advantage of
3697        # actually working.
3698        break;;
3699    * )
3700        break;;
3701  esac
3702done
3703test "$ac_cv_exeext" = no && ac_cv_exeext=
3704
3705else
3706  ac_file=''
3707fi
3708if test -z "$ac_file"; then :
3709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710$as_echo "no" >&6; }
3711$as_echo "$as_me: failed program was:" >&5
3712sed 's/^/| /' conftest.$ac_ext >&5
3713
3714{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716as_fn_error 77 "C compiler cannot create executables
3717See \`config.log' for more details" "$LINENO" 5; }
3718else
3719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3720$as_echo "yes" >&6; }
3721fi
3722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3723$as_echo_n "checking for C compiler default output file name... " >&6; }
3724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3725$as_echo "$ac_file" >&6; }
3726ac_exeext=$ac_cv_exeext
3727
3728rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3729ac_clean_files=$ac_clean_files_save
3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3731$as_echo_n "checking for suffix of executables... " >&6; }
3732if { { ac_try="$ac_link"
3733case "(($ac_try" in
3734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735  *) ac_try_echo=$ac_try;;
3736esac
3737eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3738$as_echo "$ac_try_echo"; } >&5
3739  (eval "$ac_link") 2>&5
3740  ac_status=$?
3741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3742  test $ac_status = 0; }; then :
3743  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3744# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3745# work properly (i.e., refer to `conftest.exe'), while it won't with
3746# `rm'.
3747for ac_file in conftest.exe conftest conftest.*; do
3748  test -f "$ac_file" || continue
3749  case $ac_file in
3750    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3751    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3752          break;;
3753    * ) break;;
3754  esac
3755done
3756else
3757  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3760See \`config.log' for more details" "$LINENO" 5; }
3761fi
3762rm -f conftest conftest$ac_cv_exeext
3763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3764$as_echo "$ac_cv_exeext" >&6; }
3765
3766rm -f conftest.$ac_ext
3767EXEEXT=$ac_cv_exeext
3768ac_exeext=$EXEEXT
3769cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770/* end confdefs.h.  */
3771#include <stdio.h>
3772int
3773main ()
3774{
3775FILE *f = fopen ("conftest.out", "w");
3776 return ferror (f) || fclose (f) != 0;
3777
3778  ;
3779  return 0;
3780}
3781_ACEOF
3782ac_clean_files="$ac_clean_files conftest.out"
3783# Check that the compiler produces executables we can run.  If not, either
3784# the compiler is broken, or we cross compile.
3785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3786$as_echo_n "checking whether we are cross compiling... " >&6; }
3787if test "$cross_compiling" != yes; then
3788  { { ac_try="$ac_link"
3789case "(($ac_try" in
3790  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791  *) ac_try_echo=$ac_try;;
3792esac
3793eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794$as_echo "$ac_try_echo"; } >&5
3795  (eval "$ac_link") 2>&5
3796  ac_status=$?
3797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798  test $ac_status = 0; }
3799  if { ac_try='./conftest$ac_cv_exeext'
3800  { { case "(($ac_try" in
3801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802  *) ac_try_echo=$ac_try;;
3803esac
3804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3805$as_echo "$ac_try_echo"; } >&5
3806  (eval "$ac_try") 2>&5
3807  ac_status=$?
3808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3809  test $ac_status = 0; }; }; then
3810    cross_compiling=no
3811  else
3812    if test "$cross_compiling" = maybe; then
3813        cross_compiling=yes
3814    else
3815        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3816$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3817as_fn_error $? "cannot run C compiled programs.
3818If you meant to cross compile, use \`--host'.
3819See \`config.log' for more details" "$LINENO" 5; }
3820    fi
3821  fi
3822fi
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3824$as_echo "$cross_compiling" >&6; }
3825
3826rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3827ac_clean_files=$ac_clean_files_save
3828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3829$as_echo_n "checking for suffix of object files... " >&6; }
3830if ${ac_cv_objext+:} false; then :
3831  $as_echo_n "(cached) " >&6
3832else
3833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834/* end confdefs.h.  */
3835
3836int
3837main ()
3838{
3839
3840  ;
3841  return 0;
3842}
3843_ACEOF
3844rm -f conftest.o conftest.obj
3845if { { ac_try="$ac_compile"
3846case "(($ac_try" in
3847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848  *) ac_try_echo=$ac_try;;
3849esac
3850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851$as_echo "$ac_try_echo"; } >&5
3852  (eval "$ac_compile") 2>&5
3853  ac_status=$?
3854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855  test $ac_status = 0; }; then :
3856  for ac_file in conftest.o conftest.obj conftest.*; do
3857  test -f "$ac_file" || continue;
3858  case $ac_file in
3859    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3860    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3861       break;;
3862  esac
3863done
3864else
3865  $as_echo "$as_me: failed program was:" >&5
3866sed 's/^/| /' conftest.$ac_ext >&5
3867
3868{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870as_fn_error $? "cannot compute suffix of object files: cannot compile
3871See \`config.log' for more details" "$LINENO" 5; }
3872fi
3873rm -f conftest.$ac_cv_objext conftest.$ac_ext
3874fi
3875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3876$as_echo "$ac_cv_objext" >&6; }
3877OBJEXT=$ac_cv_objext
3878ac_objext=$OBJEXT
3879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3880$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3881if ${ac_cv_c_compiler_gnu+:} false; then :
3882  $as_echo_n "(cached) " >&6
3883else
3884  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885/* end confdefs.h.  */
3886
3887int
3888main ()
3889{
3890#ifndef __GNUC__
3891       choke me
3892#endif
3893
3894  ;
3895  return 0;
3896}
3897_ACEOF
3898if ac_fn_c_try_compile "$LINENO"; then :
3899  ac_compiler_gnu=yes
3900else
3901  ac_compiler_gnu=no
3902fi
3903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904ac_cv_c_compiler_gnu=$ac_compiler_gnu
3905
3906fi
3907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3908$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3909if test $ac_compiler_gnu = yes; then
3910  GCC=yes
3911else
3912  GCC=
3913fi
3914ac_test_CFLAGS=${CFLAGS+set}
3915ac_save_CFLAGS=$CFLAGS
3916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3917$as_echo_n "checking whether $CC accepts -g... " >&6; }
3918if ${ac_cv_prog_cc_g+:} false; then :
3919  $as_echo_n "(cached) " >&6
3920else
3921  ac_save_c_werror_flag=$ac_c_werror_flag
3922   ac_c_werror_flag=yes
3923   ac_cv_prog_cc_g=no
3924   CFLAGS="-g"
3925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926/* end confdefs.h.  */
3927
3928int
3929main ()
3930{
3931
3932  ;
3933  return 0;
3934}
3935_ACEOF
3936if ac_fn_c_try_compile "$LINENO"; then :
3937  ac_cv_prog_cc_g=yes
3938else
3939  CFLAGS=""
3940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941/* end confdefs.h.  */
3942
3943int
3944main ()
3945{
3946
3947  ;
3948  return 0;
3949}
3950_ACEOF
3951if ac_fn_c_try_compile "$LINENO"; then :
3952
3953else
3954  ac_c_werror_flag=$ac_save_c_werror_flag
3955         CFLAGS="-g"
3956         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957/* end confdefs.h.  */
3958
3959int
3960main ()
3961{
3962
3963  ;
3964  return 0;
3965}
3966_ACEOF
3967if ac_fn_c_try_compile "$LINENO"; then :
3968  ac_cv_prog_cc_g=yes
3969fi
3970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971fi
3972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3973fi
3974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975   ac_c_werror_flag=$ac_save_c_werror_flag
3976fi
3977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3978$as_echo "$ac_cv_prog_cc_g" >&6; }
3979if test "$ac_test_CFLAGS" = set; then
3980  CFLAGS=$ac_save_CFLAGS
3981elif test $ac_cv_prog_cc_g = yes; then
3982  if test "$GCC" = yes; then
3983    CFLAGS="-g -O2"
3984  else
3985    CFLAGS="-g"
3986  fi
3987else
3988  if test "$GCC" = yes; then
3989    CFLAGS="-O2"
3990  else
3991    CFLAGS=
3992  fi
3993fi
3994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3995$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3996if ${ac_cv_prog_cc_c89+:} false; then :
3997  $as_echo_n "(cached) " >&6
3998else
3999  ac_cv_prog_cc_c89=no
4000ac_save_CC=$CC
4001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002/* end confdefs.h.  */
4003#include <stdarg.h>
4004#include <stdio.h>
4005struct stat;
4006/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4007struct buf { int x; };
4008FILE * (*rcsopen) (struct buf *, struct stat *, int);
4009static char *e (p, i)
4010     char **p;
4011     int i;
4012{
4013  return p[i];
4014}
4015static char *f (char * (*g) (char **, int), char **p, ...)
4016{
4017  char *s;
4018  va_list v;
4019  va_start (v,p);
4020  s = g (p, va_arg (v,int));
4021  va_end (v);
4022  return s;
4023}
4024
4025/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4026   function prototypes and stuff, but not '\xHH' hex character constants.
4027   These don't provoke an error unfortunately, instead are silently treated
4028   as 'x'.  The following induces an error, until -std is added to get
4029   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4030   array size at least.  It's necessary to write '\x00'==0 to get something
4031   that's true only with -std.  */
4032int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4033
4034/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4035   inside strings and character constants.  */
4036#define FOO(x) 'x'
4037int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4038
4039int test (int i, double x);
4040struct s1 {int (*f) (int a);};
4041struct s2 {int (*f) (double a);};
4042int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4043int argc;
4044char **argv;
4045int
4046main ()
4047{
4048return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4049  ;
4050  return 0;
4051}
4052_ACEOF
4053for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4054        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4055do
4056  CC="$ac_save_CC $ac_arg"
4057  if ac_fn_c_try_compile "$LINENO"; then :
4058  ac_cv_prog_cc_c89=$ac_arg
4059fi
4060rm -f core conftest.err conftest.$ac_objext
4061  test "x$ac_cv_prog_cc_c89" != "xno" && break
4062done
4063rm -f conftest.$ac_ext
4064CC=$ac_save_CC
4065
4066fi
4067# AC_CACHE_VAL
4068case "x$ac_cv_prog_cc_c89" in
4069  x)
4070    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4071$as_echo "none needed" >&6; } ;;
4072  xno)
4073    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4074$as_echo "unsupported" >&6; } ;;
4075  *)
4076    CC="$CC $ac_cv_prog_cc_c89"
4077    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4078$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4079esac
4080if test "x$ac_cv_prog_cc_c89" != xno; then :
4081
4082fi
4083
4084ac_ext=c
4085ac_cpp='$CPP $CPPFLAGS'
4086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088ac_compiler_gnu=$ac_cv_c_compiler_gnu
4089
4090ac_ext=c
4091ac_cpp='$CPP $CPPFLAGS'
4092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4094ac_compiler_gnu=$ac_cv_c_compiler_gnu
4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4096$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4097if ${am_cv_prog_cc_c_o+:} false; then :
4098  $as_echo_n "(cached) " >&6
4099else
4100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101/* end confdefs.h.  */
4102
4103int
4104main ()
4105{
4106
4107  ;
4108  return 0;
4109}
4110_ACEOF
4111  # Make sure it works both with $CC and with simple cc.
4112  # Following AC_PROG_CC_C_O, we do the test twice because some
4113  # compilers refuse to overwrite an existing .o file with -o,
4114  # though they will create one.
4115  am_cv_prog_cc_c_o=yes
4116  for am_i in 1 2; do
4117    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4118   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4119   ac_status=$?
4120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121   (exit $ac_status); } \
4122         && test -f conftest2.$ac_objext; then
4123      : OK
4124    else
4125      am_cv_prog_cc_c_o=no
4126      break
4127    fi
4128  done
4129  rm -f core conftest*
4130  unset am_i
4131fi
4132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4133$as_echo "$am_cv_prog_cc_c_o" >&6; }
4134if test "$am_cv_prog_cc_c_o" != yes; then
4135   # Losing compiler, so override with the script.
4136   # FIXME: It is wrong to rewrite CC.
4137   # But if we don't then we get into trouble of one sort or another.
4138   # A longer-term fix would be to have automake use am__CC in this case,
4139   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4140   CC="$am_aux_dir/compile $CC"
4141fi
4142ac_ext=c
4143ac_cpp='$CPP $CPPFLAGS'
4144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4146ac_compiler_gnu=$ac_cv_c_compiler_gnu
4147
4148
4149depcc="$CC"   am_compiler_list=
4150
4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4152$as_echo_n "checking dependency style of $depcc... " >&6; }
4153if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4154  $as_echo_n "(cached) " >&6
4155else
4156  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4157  # We make a subdir and do the tests there.  Otherwise we can end up
4158  # making bogus files that we don't know about and never remove.  For
4159  # instance it was reported that on HP-UX the gcc test will end up
4160  # making a dummy file named 'D' -- because '-MD' means "put the output
4161  # in D".
4162  rm -rf conftest.dir
4163  mkdir conftest.dir
4164  # Copy depcomp to subdir because otherwise we won't find it if we're
4165  # using a relative directory.
4166  cp "$am_depcomp" conftest.dir
4167  cd conftest.dir
4168  # We will build objects and dependencies in a subdirectory because
4169  # it helps to detect inapplicable dependency modes.  For instance
4170  # both Tru64's cc and ICC support -MD to output dependencies as a
4171  # side effect of compilation, but ICC will put the dependencies in
4172  # the current directory while Tru64 will put them in the object
4173  # directory.
4174  mkdir sub
4175
4176  am_cv_CC_dependencies_compiler_type=none
4177  if test "$am_compiler_list" = ""; then
4178     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4179  fi
4180  am__universal=false
4181  case " $depcc " in #(
4182     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4183     esac
4184
4185  for depmode in $am_compiler_list; do
4186    # Setup a source with many dependencies, because some compilers
4187    # like to wrap large dependency lists on column 80 (with \), and
4188    # we should not choose a depcomp mode which is confused by this.
4189    #
4190    # We need to recreate these files for each test, as the compiler may
4191    # overwrite some of them when testing with obscure command lines.
4192    # This happens at least with the AIX C compiler.
4193    : > sub/conftest.c
4194    for i in 1 2 3 4 5 6; do
4195      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4196      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4197      # Solaris 10 /bin/sh.
4198      echo '/* dummy */' > sub/conftst$i.h
4199    done
4200    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4201
4202    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4203    # mode.  It turns out that the SunPro C++ compiler does not properly
4204    # handle '-M -o', and we need to detect this.  Also, some Intel
4205    # versions had trouble with output in subdirs.
4206    am__obj=sub/conftest.${OBJEXT-o}
4207    am__minus_obj="-o $am__obj"
4208    case $depmode in
4209    gcc)
4210      # This depmode causes a compiler race in universal mode.
4211      test "$am__universal" = false || continue
4212      ;;
4213    nosideeffect)
4214      # After this tag, mechanisms are not by side-effect, so they'll
4215      # only be used when explicitly requested.
4216      if test "x$enable_dependency_tracking" = xyes; then
4217        continue
4218      else
4219        break
4220      fi
4221      ;;
4222    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4223      # This compiler won't grok '-c -o', but also, the minuso test has
4224      # not run yet.  These depmodes are late enough in the game, and
4225      # so weak that their functioning should not be impacted.
4226      am__obj=conftest.${OBJEXT-o}
4227      am__minus_obj=
4228      ;;
4229    none) break ;;
4230    esac
4231    if depmode=$depmode \
4232       source=sub/conftest.c object=$am__obj \
4233       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4234       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4235         >/dev/null 2>conftest.err &&
4236       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4237       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4238       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4239       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4240      # icc doesn't choke on unknown options, it will just issue warnings
4241      # or remarks (even with -Werror).  So we grep stderr for any message
4242      # that says an option was ignored or not supported.
4243      # When given -MP, icc 7.0 and 7.1 complain thusly:
4244      #   icc: Command line warning: ignoring option '-M'; no argument required
4245      # The diagnosis changed in icc 8.0:
4246      #   icc: Command line remark: option '-MP' not supported
4247      if (grep 'ignoring option' conftest.err ||
4248          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4249        am_cv_CC_dependencies_compiler_type=$depmode
4250        break
4251      fi
4252    fi
4253  done
4254
4255  cd ..
4256  rm -rf conftest.dir
4257else
4258  am_cv_CC_dependencies_compiler_type=none
4259fi
4260
4261fi
4262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4263$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4264CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4265
4266 if
4267  test "x$enable_dependency_tracking" != xno \
4268  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4269  am__fastdepCC_TRUE=
4270  am__fastdepCC_FALSE='#'
4271else
4272  am__fastdepCC_TRUE='#'
4273  am__fastdepCC_FALSE=
4274fi
4275
4276
4277
4278if test -n "$ac_tool_prefix"; then
4279  for ac_prog in ar lib "link -lib"
4280  do
4281    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4282set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284$as_echo_n "checking for $ac_word... " >&6; }
4285if ${ac_cv_prog_AR+:} false; then :
4286  $as_echo_n "(cached) " >&6
4287else
4288  if test -n "$AR"; then
4289  ac_cv_prog_AR="$AR" # Let the user override the test.
4290else
4291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292for as_dir in $PATH
4293do
4294  IFS=$as_save_IFS
4295  test -z "$as_dir" && as_dir=.
4296    for ac_exec_ext in '' $ac_executable_extensions; do
4297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300    break 2
4301  fi
4302done
4303  done
4304IFS=$as_save_IFS
4305
4306fi
4307fi
4308AR=$ac_cv_prog_AR
4309if test -n "$AR"; then
4310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4311$as_echo "$AR" >&6; }
4312else
4313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314$as_echo "no" >&6; }
4315fi
4316
4317
4318    test -n "$AR" && break
4319  done
4320fi
4321if test -z "$AR"; then
4322  ac_ct_AR=$AR
4323  for ac_prog in ar lib "link -lib"
4324do
4325  # Extract the first word of "$ac_prog", so it can be a program name with args.
4326set dummy $ac_prog; ac_word=$2
4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4328$as_echo_n "checking for $ac_word... " >&6; }
4329if ${ac_cv_prog_ac_ct_AR+:} false; then :
4330  $as_echo_n "(cached) " >&6
4331else
4332  if test -n "$ac_ct_AR"; then
4333  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4334else
4335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336for as_dir in $PATH
4337do
4338  IFS=$as_save_IFS
4339  test -z "$as_dir" && as_dir=.
4340    for ac_exec_ext in '' $ac_executable_extensions; do
4341  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342    ac_cv_prog_ac_ct_AR="$ac_prog"
4343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344    break 2
4345  fi
4346done
4347  done
4348IFS=$as_save_IFS
4349
4350fi
4351fi
4352ac_ct_AR=$ac_cv_prog_ac_ct_AR
4353if test -n "$ac_ct_AR"; then
4354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4355$as_echo "$ac_ct_AR" >&6; }
4356else
4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358$as_echo "no" >&6; }
4359fi
4360
4361
4362  test -n "$ac_ct_AR" && break
4363done
4364
4365  if test "x$ac_ct_AR" = x; then
4366    AR="false"
4367  else
4368    case $cross_compiling:$ac_tool_warned in
4369yes:)
4370{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4371$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4372ac_tool_warned=yes ;;
4373esac
4374    AR=$ac_ct_AR
4375  fi
4376fi
4377
4378: ${AR=ar}
4379
4380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4381$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4382if ${am_cv_ar_interface+:} false; then :
4383  $as_echo_n "(cached) " >&6
4384else
4385  ac_ext=c
4386ac_cpp='$CPP $CPPFLAGS'
4387ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390
4391   am_cv_ar_interface=ar
4392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393/* end confdefs.h.  */
4394int some_variable = 0;
4395_ACEOF
4396if ac_fn_c_try_compile "$LINENO"; then :
4397  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4398      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4399  (eval $am_ar_try) 2>&5
4400  ac_status=$?
4401  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4402  test $ac_status = 0; }
4403      if test "$ac_status" -eq 0; then
4404        am_cv_ar_interface=ar
4405      else
4406        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4407        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4408  (eval $am_ar_try) 2>&5
4409  ac_status=$?
4410  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4411  test $ac_status = 0; }
4412        if test "$ac_status" -eq 0; then
4413          am_cv_ar_interface=lib
4414        else
4415          am_cv_ar_interface=unknown
4416        fi
4417      fi
4418      rm -f conftest.lib libconftest.a
4419
4420fi
4421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422   ac_ext=c
4423ac_cpp='$CPP $CPPFLAGS'
4424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426ac_compiler_gnu=$ac_cv_c_compiler_gnu
4427
4428fi
4429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4430$as_echo "$am_cv_ar_interface" >&6; }
4431
4432case $am_cv_ar_interface in
4433ar)
4434  ;;
4435lib)
4436  # Microsoft lib, so override with the ar-lib wrapper script.
4437  # FIXME: It is wrong to rewrite AR.
4438  # But if we don't then we get into trouble of one sort or another.
4439  # A longer-term fix would be to have automake use am__AR in this case,
4440  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4441  # similar.
4442  AR="$am_aux_dir/ar-lib $AR"
4443  ;;
4444unknown)
4445  have_ar='no'
4446  ;;
4447esac
4448
4449{ $as_echo "$as_me:${as_lineno-$LINENO}: have_ar = $have_ar" >&5
4450$as_echo "$as_me: have_ar = $have_ar" >&6;}
4451
4452{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Check command line arguments that are longer used ****" >&5
4453$as_echo "$as_me: *** Check command line arguments that are longer used ****" >&6;}
4454
4455if test "$CPP_ERROR_WARN" != "" ; then
4456    as_fn_error $? "The CPP_ERROR_WARN configure option is now CXX_FLAGS" "$LINENO" 5
4457fi
4458
4459# Check whether --with-SpeedExample was given.
4460if test "${with_SpeedExample+set}" = set; then :
4461  withval=$with_SpeedExample; SpeedExample="yes"
4462else
4463  SpeedExample="no"
4464
4465fi
4466
4467if test "$SpeedExample" = "yes" ; then
4468    as_fn_error $? "--with-SpeedExample not necessary, see install instructions." "$LINENO" 5
4469fi
4470
4471# Check whether --with-profiling was given.
4472if test "${with_profiling+set}" = set; then :
4473  withval=$with_profiling; profiling="yes"
4474else
4475  profiling="no"
4476
4477fi
4478
4479if test "$profiling" = "yes" ; then
4480    as_fn_error $? "--with-profiling not necessary, see install instructions." "$LINENO" 5
4481fi
4482
4483# Check whether --with-Speed was given.
4484if test "${with_Speed+set}" = set; then :
4485  withval=$with_Speed; Speed="yes"
4486else
4487  Speed="no"
4488
4489fi
4490
4491if test "$Speed" = "yes" ; then
4492    as_fn_error $? "--with-Speed not necessary, see install instructions." "$LINENO" 5
4493fi
4494
4495# Check whether --with-Introduction was given.
4496if test "${with_Introduction+set}" = set; then :
4497  withval=$with_Introduction; Introduction="yes"
4498else
4499  Introduction="no"
4500
4501fi
4502
4503if test "$Introduction" = "yes" ; then
4504    as_fn_error $? "--with-Introduction not necessary, see install instructions." "$LINENO" 5
4505fi
4506
4507# Check whether --with-Example was given.
4508if test "${with_Example+set}" = set; then :
4509  withval=$with_Example; Example="yes"
4510else
4511  Example="no"
4512
4513fi
4514
4515if test "$Example" = "yes" ; then
4516    as_fn_error $? "--with-Example not necessary, see install instructions." "$LINENO" 5
4517fi
4518
4519# Check whether --with-TestMore was given.
4520if test "${with_TestMore+set}" = set; then :
4521  withval=$with_TestMore; TestMore="yes"
4522else
4523  TestMore="no"
4524
4525fi
4526
4527if test "$TestMore" = "yes" ; then
4528    as_fn_error $? "--with-TestMore not necessary, see install instructions." "$LINENO" 5
4529fi
4530
4531# Check whether --with-PrintFor was given.
4532if test "${with_PrintFor+set}" = set; then :
4533  withval=$with_PrintFor; PrintFor="yes"
4534else
4535  PrintFor="no"
4536
4537fi
4538
4539if test "$PrintFor" = "yes" ; then
4540    as_fn_error $? "--with-PrintFor not necessary, see install instructions." "$LINENO" 5
4541fi
4542
4543# Check whether --with-sparse_set was given.
4544if test "${with_sparse_set+set}" = set; then :
4545  withval=$with_sparse_set; sparse_set="yes"
4546else
4547  sparse_set="no"
4548
4549fi
4550
4551if test "$sparse_set" = "yes" ; then
4552        as_fn_error $? "--with-sparse_set is no longer available" "$LINENO" 5
4553fi
4554
4555# Check whether --with-sparse_list was given.
4556if test "${with_sparse_list+set}" = set; then :
4557  withval=$with_sparse_list; sparse_set="yes"
4558else
4559  sparse_set="no"
4560
4561fi
4562
4563if test "$sparse_set" = "yes" ; then
4564        as_fn_error $? "--with-sparse_set is no longer necessary" "$LINENO" 5
4565fi
4566
4567# Check whether --with-deprecated was given.
4568if test "${with_deprecated+set}" = set; then :
4569  withval=$with_deprecated; deprecated="yes"
4570else
4571  deprecated="no"
4572
4573fi
4574
4575 if test "$deprecated" = 'yes' ; then
4576  CppAD_DEPRECATED_TRUE=
4577  CppAD_DEPRECATED_FALSE='#'
4578else
4579  CppAD_DEPRECATED_TRUE='#'
4580  CppAD_DEPRECATED_FALSE=
4581fi
4582
4583if test "$deprecated" = "yes" ; then
4584        as_fn_error $? "autotools version does not install features on the chopping block
4585        " "$LINENO" 5
4586fi
4587{ $as_echo "$as_me:${as_lineno-$LINENO}: ******  Check command line arguments that are used ***********" >&5
4588$as_echo "$as_me: ******  Check command line arguments that are used ***********" >&6;}
4589
4590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-msvc" >&5
4591$as_echo_n "checking --enable-msvc... " >&6; }
4592# Check whether --enable-msvc was given.
4593if test "${enable_msvc+set}" = set; then :
4594  enableval=$enable_msvc; enable_msvc=$enableval
4595else
4596  enable_msvc=no
4597
4598fi
4599
4600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_msvc" >&5
4601$as_echo "$enable_msvc" >&6; }
4602
4603
4604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --prefix" >&5
4605$as_echo_n "checking --prefix... " >&6; }
4606if test "$prefix" = "NONE" ; then
4607        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOME" >&5
4608$as_echo "$HOME" >&6; }
4609else
4610        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
4611$as_echo "$prefix" >&6; }
4612fi
4613
4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-Documentation" >&5
4615$as_echo_n "checking --with-Documentation... " >&6; }
4616
4617# Check whether --with-Documentation was given.
4618if test "${with_Documentation+set}" = set; then :
4619  withval=$with_Documentation; Documentation="yes"
4620else
4621  Documentation="no"
4622
4623fi
4624
4625 if test "$Documentation" = "yes"; then
4626  CppAD_DOCUMENTATION_TRUE=
4627  CppAD_DOCUMENTATION_FALSE='#'
4628else
4629  CppAD_DOCUMENTATION_TRUE='#'
4630  CppAD_DOCUMENTATION_FALSE=
4631fi
4632
4633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $Documentation" >&5
4634$as_echo "$Documentation" >&6; }
4635
4636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-stdvector" >&5
4637$as_echo_n "checking --with-stdvector... " >&6; }
4638
4639# Check whether --with-stdvector was given.
4640if test "${with_stdvector+set}" = set; then :
4641  withval=$with_stdvector; stdvector="yes"
4642else
4643  stdvector="no"
4644
4645fi
4646
4647if test "$stdvector" = "yes" ; then
4648        cppad_stdvector=1
4649
4650else
4651        cppad_stdvector=0
4652
4653fi
4654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $stdvector" >&5
4655$as_echo "$stdvector" >&6; }
4656
4657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-boostvector" >&5
4658$as_echo_n "checking --with-boostvector... " >&6; }
4659
4660# Check whether --with-boostvector was given.
4661if test "${with_boostvector+set}" = set; then :
4662  withval=$with_boostvector; boostvector="yes"
4663else
4664  boostvector="no"
4665
4666fi
4667
4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boostvector" >&5
4669$as_echo "$boostvector" >&6; }
4670if test "$boostvector" = "yes" ; then
4671        if test "$stdvector" != "no" ; then
4672                as_fn_error $? "cannot --with both stdvector and boostvector" "$LINENO" 5
4673        fi
4674        cppad_boostvector=1
4675
4676else
4677        cppad_boostvector=0
4678
4679fi
4680
4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-eigenvector" >&5
4682$as_echo_n "checking --with-eigenvector... " >&6; }
4683
4684# Check whether --with-eigenvector was given.
4685if test "${with_eigenvector+set}" = set; then :
4686  withval=$with_eigenvector; eigenvector="yes"
4687else
4688  eigenvector="no"
4689
4690fi
4691
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $eigenvector" >&5
4693$as_echo "$eigenvector" >&6; }
4694if test "$eigenvector" = "yes" ; then
4695        if test "$stdvector" != "no" ; then
4696                as_fn_error $? "cannot --with both stdvector and eigenvector" "$LINENO" 5
4697        fi
4698        if test "$boostvector" != "no" ; then
4699                as_fn_error $? "cannot --with both boostvector and eigenvector" "$LINENO" 5
4700        fi
4701        cppad_eigenvector=1
4702
4703else
4704        cppad_eigenvector=0
4705
4706fi
4707
4708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking POSTFIX_DIR" >&5
4709$as_echo_n "checking POSTFIX_DIR... " >&6; }
4710
4711 if test "$POSTFIX_DIR" != ""; then
4712  CppAD_POSTFIX_TRUE=
4713  CppAD_POSTFIX_FALSE='#'
4714else
4715  CppAD_POSTFIX_TRUE='#'
4716  CppAD_POSTFIX_FALSE=
4717fi
4718
4719if test "$POSTFIX_DIR" != "" ; then
4720        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POSTFIX_DIR" >&5
4721$as_echo "$POSTFIX_DIR" >&6; }
4722else
4723        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724$as_echo "no" >&6; }
4725fi
4726
4727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ADOLC_DIR" >&5
4728$as_echo_n "checking ADOLC_DIR... " >&6; }
4729
4730 if test "$ADOLC_DIR" != ""; then
4731  CppAD_ADOLC_TRUE=
4732  CppAD_ADOLC_FALSE='#'
4733else
4734  CppAD_ADOLC_TRUE='#'
4735  CppAD_ADOLC_FALSE=
4736fi
4737
4738if test "$ADOLC_DIR" != "" ; then
4739        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ADOLC_DIR" >&5
4740$as_echo "$ADOLC_DIR" >&6; }
4741        if test "$have_ar" = "no"; then
4742                as_fn_error $? "ar is missing and ADOLC_DIR is present" "$LINENO" 5
4743        fi
4744        cppad_has_adolc=1
4745
4746else
4747        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748$as_echo "no" >&6; }
4749        cppad_has_adolc=0
4750
4751fi
4752
4753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking EIGEN_DIR" >&5
4754$as_echo_n "checking EIGEN_DIR... " >&6; }
4755
4756 if test "$EIGEN_DIR" != ""; then
4757  CppAD_EIGEN_DIR_TRUE=
4758  CppAD_EIGEN_DIR_FALSE='#'
4759else
4760  CppAD_EIGEN_DIR_TRUE='#'
4761  CppAD_EIGEN_DIR_FALSE=
4762fi
4763
4764if test "$EIGEN_DIR" != "" ; then
4765        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EIGEN_DIR" >&5
4766$as_echo "$EIGEN_DIR" >&6; }
4767        EIGEN_INCLUDE=-I$EIGEN_DIR/include
4768
4769        cppad_has_eigen=1
4770
4771else
4772        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773$as_echo "no" >&6; }
4774
4775        cppad_has_eigen=0
4776
4777fi
4778
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking FADBAD_DIR" >&5
4780$as_echo_n "checking FADBAD_DIR... " >&6; }
4781
4782 if test "$FADBAD_DIR" != ""; then
4783  CppAD_FADBAD_TRUE=
4784  CppAD_FADBAD_FALSE='#'
4785else
4786  CppAD_FADBAD_TRUE='#'
4787  CppAD_FADBAD_FALSE=
4788fi
4789
4790if test "$FADBAD_DIR" != "" ; then
4791        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FADBAD_DIR" >&5
4792$as_echo "$FADBAD_DIR" >&6; }
4793        if test "$have_ar" = "no"; then
4794                as_fn_error $? "ar is missing and FADBAD_DIR is present" "$LINENO" 5
4795        fi
4796        cppad_has_fadbad=1
4797
4798else
4799        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800$as_echo "no" >&6; }
4801        cppad_has_fadbad=0
4802
4803fi
4804
4805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SACADO_DIR" >&5
4806$as_echo_n "checking SACADO_DIR... " >&6; }
4807
4808 if test "$SACADO_DIR" != ""; then
4809  CppAD_SACADO_TRUE=
4810  CppAD_SACADO_FALSE='#'
4811else
4812  CppAD_SACADO_TRUE='#'
4813  CppAD_SACADO_FALSE=
4814fi
4815
4816if test "$SACADO_DIR" != "" ; then
4817        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SACADO_DIR" >&5
4818$as_echo "$SACADO_DIR" >&6; }
4819        if test "$have_ar" = "no"; then
4820                as_fn_error $? "ar is missing and SACADO_DIR is present" "$LINENO" 5
4821        fi
4822        cppad_has_sacado=1
4823
4824else
4825        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826$as_echo "no" >&6; }
4827        cppad_has_sacado=0
4828
4829fi
4830
4831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking IPOPT_DIR" >&5
4832$as_echo_n "checking IPOPT_DIR... " >&6; }
4833
4834 if test "$IPOPT_DIR" != ""; then
4835  CppAD_IPOPT_TRUE=
4836  CppAD_IPOPT_FALSE='#'
4837else
4838  CppAD_IPOPT_TRUE='#'
4839  CppAD_IPOPT_FALSE=
4840fi
4841
4842if test "$IPOPT_DIR" != "" ; then
4843        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPOPT_DIR" >&5
4844$as_echo "$IPOPT_DIR" >&6; }
4845        if test "$have_ar" = "no"; then
4846                as_fn_error $? "ar is missing and IPOPT_DIR is present" "$LINENO" 5
4847        fi
4848        cppad_has_ipopt=1
4849
4850else
4851        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852$as_echo "no" >&6; }
4853        cppad_has_ipopt=0
4854
4855fi
4856
4857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking BOOST_DIR" >&5
4858$as_echo_n "checking BOOST_DIR... " >&6; }
4859
4860 if test "$BOOST_DIR" != ""; then
4861  CppAD_BOOST_DIR_TRUE=
4862  CppAD_BOOST_DIR_FALSE='#'
4863else
4864  CppAD_BOOST_DIR_TRUE='#'
4865  CppAD_BOOST_DIR_FALSE=
4866fi
4867
4868if test "$BOOST_DIR" != "" ; then
4869        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOST_DIR" >&5
4870$as_echo "$BOOST_DIR" >&6; }
4871        BOOST_INCLUDE=-I$BOOST_DIR/include
4872
4873        cppad_has_boost=1
4874
4875else
4876        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877$as_echo "no" >&6; }
4878
4879        cppad_has_boost=0
4880
4881fi
4882
4883#
4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CXX_FLAGS" >&5
4885$as_echo_n "checking CXX_FLAGS... " >&6; }
4886
4887# cxx_flags for fadbad and eigen
4888if test "$CXX_FLAGS" != "" ; then
4889        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FLAGS" >&5
4890$as_echo "$CXX_FLAGS" >&6; }
4891        cxx_flags_fadbad=`echo "$CXX_FLAGS" | sed -e 's|-Wshadow||'`
4892        cxx_flags_eigen="$cxx_flags_fadbda -Wno-long-long"
4893else
4894        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895$as_echo "no" >&6; }
4896        cxx_flags_fadbad=""
4897        cxx_flags_eigen=""
4898fi
4899CXX_FLAGS_FADBAD="$cxx_flags_fadbad"
4900
4901CXX_FLAGS_EIGEN="$cxx_flags_eigen"
4902
4903
4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENMP_FLAGS" >&5
4905$as_echo_n "checking OPENMP_FLAGS... " >&6; }
4906
4907if test "$OPENMP_FLAGS" != "" ; then
4908        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENMP_FLAGS" >&5
4909$as_echo "$OPENMP_FLAGS" >&6; }
4910else
4911        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912$as_echo "no" >&6; }
4913fi
4914 if test "$OPENMP_FLAGS" != ""; then
4915  CppAD_OPENMP_TRUE=
4916  CppAD_OPENMP_FALSE='#'
4917else
4918  CppAD_OPENMP_TRUE='#'
4919  CppAD_OPENMP_FALSE=
4920fi
4921
4922
4923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking MAX_NUM_THREADS" >&5
4924$as_echo_n "checking MAX_NUM_THREADS... " >&6; }
4925
4926if test "$MAX_NUM_THREADS" != "" ; then
4927        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAX_NUM_THREADS" >&5
4928$as_echo "$MAX_NUM_THREADS" >&6; }
4929        if test "$MAX_NUM_THREADS" -lt "4" ; then
4930                as_fn_error $? " MAX_NUM_THREADS=$MAX_NUM_THREADS is less than 4
4931                " "$LINENO" 5
4932        fi
4933        max_num_threads="$MAX_NUM_THREADS"
4934else
4935        max_num_threads="48"
4936        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using default value $max_num_threads" >&5
4937$as_echo "no, using default value $max_num_threads" >&6; }
4938fi
4939cppad_max_num_threads=$max_num_threads
4940
4941
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking TAPE_ADDR_TYPE" >&5
4943$as_echo_n "checking TAPE_ADDR_TYPE... " >&6; }
4944
4945if test "$TAPE_ADDR_TYPE" == "" ; then
4946        addr_t="unsigned int"
4947else
4948        addr_t="$TAPE_ADDR_TYPE"
4949fi
4950cppad_tape_addr_type=$addr_t
4951
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $addr_t" >&5
4953$as_echo "$addr_t" >&6; }
4954ok="no"
4955if test "$addr_t" == "size_t" ; then
4956        ok="yes"
4957fi
4958if test "$addr_t" == "int" ; then
4959        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TAPE_ADDR_TYPE=int is for CppAD developers (not users)
4960        " >&5
4961$as_echo "$as_me: WARNING: TAPE_ADDR_TYPE=int is for CppAD developers (not users)
4962        " >&2;}
4963        ok="yes"
4964fi
4965if test "$addr_t" == "unsigned int" ; then
4966        ok="yes"
4967fi
4968if test "$addr_t" == "unsigned short int" ; then
4969        ok="yes"
4970fi
4971if test "$ok" == "no" ; then
4972        as_fn_error $? "$addr_t is not a valid choice for TAPE_ADDR_TYPE
4973        " "$LINENO" 5
4974fi
4975
4976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking TAPE_ID_TYPE" >&5
4977$as_echo_n "checking TAPE_ID_TYPE... " >&6; }
4978
4979if test "$TAPE_ID_TYPE" == "" ; then
4980        tape_id_t="unsigned int"
4981else
4982        tape_id_t="$TAPE_ID_TYPE"
4983fi
4984cppad_tape_id_type=$tape_id_t
4985
4986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tape_id_t" >&5
4987$as_echo "$tape_id_t" >&6; }
4988ok="no"
4989if test "$tape_id_t" == "size_t" ; then
4990        ok="yes"
4991fi
4992if test "$tape_id_t" == "int" ; then
4993        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TAPE_ID_TYPE=int is for CppAD developers (not users)
4994        " >&5
4995$as_echo "$as_me: WARNING: TAPE_ID_TYPE=int is for CppAD developers (not users)
4996        " >&2;}
4997        ok="yes"
4998fi
4999if test "$tape_id_t" == "unsigned int" ; then
5000        ok="yes"
5001fi
5002if test "$tape_id_t" == "unsigned short int" ; then
5003        ok="yes"
5004fi
5005if test "$ok" == "no" ; then
5006        as_fn_error $? "$tape_id_t is not a valid choice for TAPE_ID_TYPE
5007        " "$LINENO" 5
5008fi
5009{ $as_echo "$as_me:${as_lineno-$LINENO}: ********** End Checking Command Line arguments ***************" >&5
5010$as_echo "$as_me: ********** End Checking Command Line arguments ***************" >&6;}
5011
5012if test "$enable_msvc" == "no"
5013then
5014        cxx_list="g++ clang++ CC pgCC icpc gpp cxx cc++"
5015        cc_list="gcc clang cc pgcc icc"
5016        fc_list="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77"
5017else
5018                cxx_list="icl cl g++"
5019        cc_list="icl cl gcc"
5020        fc_list="ifort gfortran"
5021fi
5022
5023ac_ext=cpp
5024ac_cpp='$CXXCPP $CPPFLAGS'
5025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5028if test -z "$CXX"; then
5029  if test -n "$CCC"; then
5030    CXX=$CCC
5031  else
5032    if test -n "$ac_tool_prefix"; then
5033  for ac_prog in $cxx_list
5034  do
5035    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5036set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038$as_echo_n "checking for $ac_word... " >&6; }
5039if ${ac_cv_prog_CXX+:} false; then :
5040  $as_echo_n "(cached) " >&6
5041else
5042  if test -n "$CXX"; then
5043  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5044else
5045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046for as_dir in $PATH
5047do
5048  IFS=$as_save_IFS
5049  test -z "$as_dir" && as_dir=.
5050    for ac_exec_ext in '' $ac_executable_extensions; do
5051  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5053    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054    break 2
5055  fi
5056done
5057  done
5058IFS=$as_save_IFS
5059
5060fi
5061fi
5062CXX=$ac_cv_prog_CXX
5063if test -n "$CXX"; then
5064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5065$as_echo "$CXX" >&6; }
5066else
5067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068$as_echo "no" >&6; }
5069fi
5070
5071
5072    test -n "$CXX" && break
5073  done
5074fi
5075if test -z "$CXX"; then
5076  ac_ct_CXX=$CXX
5077  for ac_prog in $cxx_list
5078do
5079  # Extract the first word of "$ac_prog", so it can be a program name with args.
5080set dummy $ac_prog; ac_word=$2
5081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082$as_echo_n "checking for $ac_word... " >&6; }
5083if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5084  $as_echo_n "(cached) " >&6
5085else
5086  if test -n "$ac_ct_CXX"; then
5087  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5088else
5089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090for as_dir in $PATH
5091do
5092  IFS=$as_save_IFS
5093  test -z "$as_dir" && as_dir=.
5094    for ac_exec_ext in '' $ac_executable_extensions; do
5095  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096    ac_cv_prog_ac_ct_CXX="$ac_prog"
5097    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098    break 2
5099  fi
5100done
5101  done
5102IFS=$as_save_IFS
5103
5104fi
5105fi
5106ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5107if test -n "$ac_ct_CXX"; then
5108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5109$as_echo "$ac_ct_CXX" >&6; }
5110else
5111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112$as_echo "no" >&6; }
5113fi
5114
5115
5116  test -n "$ac_ct_CXX" && break
5117done
5118
5119  if test "x$ac_ct_CXX" = x; then
5120    CXX="g++"
5121  else
5122    case $cross_compiling:$ac_tool_warned in
5123yes:)
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126ac_tool_warned=yes ;;
5127esac
5128    CXX=$ac_ct_CXX
5129  fi
5130fi
5131
5132  fi
5133fi
5134# Provide some information about the compiler.
5135$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5136set X $ac_compile
5137ac_compiler=$2
5138for ac_option in --version -v -V -qversion; do
5139  { { ac_try="$ac_compiler $ac_option >&5"
5140case "(($ac_try" in
5141  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142  *) ac_try_echo=$ac_try;;
5143esac
5144eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5145$as_echo "$ac_try_echo"; } >&5
5146  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5147  ac_status=$?
5148  if test -s conftest.err; then
5149    sed '10a\
5150... rest of stderr output deleted ...
5151         10q' conftest.err >conftest.er1
5152    cat conftest.er1 >&5
5153  fi
5154  rm -f conftest.er1 conftest.err
5155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156  test $ac_status = 0; }
5157done
5158
5159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5160$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5161if ${ac_cv_cxx_compiler_gnu+:} false; then :
5162  $as_echo_n "(cached) " >&6
5163else
5164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165/* end confdefs.h.  */
5166
5167int
5168main ()
5169{
5170#ifndef __GNUC__
5171       choke me
5172#endif
5173
5174  ;
5175  return 0;
5176}
5177_ACEOF
5178if ac_fn_cxx_try_compile "$LINENO"; then :
5179  ac_compiler_gnu=yes
5180else
5181  ac_compiler_gnu=no
5182fi
5183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5185
5186fi
5187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5188$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5189if test $ac_compiler_gnu = yes; then
5190  GXX=yes
5191else
5192  GXX=
5193fi
5194ac_test_CXXFLAGS=${CXXFLAGS+set}
5195ac_save_CXXFLAGS=$CXXFLAGS
5196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5197$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5198if ${ac_cv_prog_cxx_g+:} false; then :
5199  $as_echo_n "(cached) " >&6
5200else
5201  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5202   ac_cxx_werror_flag=yes
5203   ac_cv_prog_cxx_g=no
5204   CXXFLAGS="-g"
5205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206/* end confdefs.h.  */
5207
5208int
5209main ()
5210{
5211
5212  ;
5213  return 0;
5214}
5215_ACEOF
5216if ac_fn_cxx_try_compile "$LINENO"; then :
5217  ac_cv_prog_cxx_g=yes
5218else
5219  CXXFLAGS=""
5220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5221/* end confdefs.h.  */
5222
5223int
5224main ()
5225{
5226
5227  ;
5228  return 0;
5229}
5230_ACEOF
5231if ac_fn_cxx_try_compile "$LINENO"; then :
5232
5233else
5234  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5235         CXXFLAGS="-g"
5236         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237/* end confdefs.h.  */
5238
5239int
5240main ()
5241{
5242
5243  ;
5244  return 0;
5245}
5246_ACEOF
5247if ac_fn_cxx_try_compile "$LINENO"; then :
5248  ac_cv_prog_cxx_g=yes
5249fi
5250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251fi
5252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253fi
5254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5256fi
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5258$as_echo "$ac_cv_prog_cxx_g" >&6; }
5259if test "$ac_test_CXXFLAGS" = set; then
5260  CXXFLAGS=$ac_save_CXXFLAGS
5261elif test $ac_cv_prog_cxx_g = yes; then
5262  if test "$GXX" = yes; then
5263    CXXFLAGS="-g -O2"
5264  else
5265    CXXFLAGS="-g"
5266  fi
5267else
5268  if test "$GXX" = yes; then
5269    CXXFLAGS="-O2"
5270  else
5271    CXXFLAGS=
5272  fi
5273fi
5274ac_ext=c
5275ac_cpp='$CPP $CPPFLAGS'
5276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279
5280depcc="$CXX"  am_compiler_list=
5281
5282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5283$as_echo_n "checking dependency style of $depcc... " >&6; }
5284if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5285  $as_echo_n "(cached) " >&6
5286else
5287  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5288  # We make a subdir and do the tests there.  Otherwise we can end up
5289  # making bogus files that we don't know about and never remove.  For
5290  # instance it was reported that on HP-UX the gcc test will end up
5291  # making a dummy file named 'D' -- because '-MD' means "put the output
5292  # in D".
5293  rm -rf conftest.dir
5294  mkdir conftest.dir
5295  # Copy depcomp to subdir because otherwise we won't find it if we're
5296  # using a relative directory.
5297  cp "$am_depcomp" conftest.dir
5298  cd conftest.dir
5299  # We will build objects and dependencies in a subdirectory because
5300  # it helps to detect inapplicable dependency modes.  For instance
5301  # both Tru64's cc and ICC support -MD to output dependencies as a
5302  # side effect of compilation, but ICC will put the dependencies in
5303  # the current directory while Tru64 will put them in the object
5304  # directory.
5305  mkdir sub
5306
5307  am_cv_CXX_dependencies_compiler_type=none
5308  if test "$am_compiler_list" = ""; then
5309     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5310  fi
5311  am__universal=false
5312  case " $depcc " in #(
5313     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5314     esac
5315
5316  for depmode in $am_compiler_list; do
5317    # Setup a source with many dependencies, because some compilers
5318    # like to wrap large dependency lists on column 80 (with \), and
5319    # we should not choose a depcomp mode which is confused by this.
5320    #
5321    # We need to recreate these files for each test, as the compiler may
5322    # overwrite some of them when testing with obscure command lines.
5323    # This happens at least with the AIX C compiler.
5324    : > sub/conftest.c
5325    for i in 1 2 3 4 5 6; do
5326      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5327      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5328      # Solaris 10 /bin/sh.
5329      echo '/* dummy */' > sub/conftst$i.h
5330    done
5331    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5332
5333    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5334    # mode.  It turns out that the SunPro C++ compiler does not properly
5335    # handle '-M -o', and we need to detect this.  Also, some Intel
5336    # versions had trouble with output in subdirs.
5337    am__obj=sub/conftest.${OBJEXT-o}
5338    am__minus_obj="-o $am__obj"
5339    case $depmode in
5340    gcc)
5341      # This depmode causes a compiler race in universal mode.
5342      test "$am__universal" = false || continue
5343      ;;
5344    nosideeffect)
5345      # After this tag, mechanisms are not by side-effect, so they'll
5346      # only be used when explicitly requested.
5347      if test "x$enable_dependency_tracking" = xyes; then
5348        continue
5349      else
5350        break
5351      fi
5352      ;;
5353    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5354      # This compiler won't grok '-c -o', but also, the minuso test has
5355      # not run yet.  These depmodes are late enough in the game, and
5356      # so weak that their functioning should not be impacted.
5357      am__obj=conftest.${OBJEXT-o}
5358      am__minus_obj=
5359      ;;
5360    none) break ;;
5361    esac
5362    if depmode=$depmode \
5363       source=sub/conftest.c object=$am__obj \
5364       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5365       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5366         >/dev/null 2>conftest.err &&
5367       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5368       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5369       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5370       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5371      # icc doesn't choke on unknown options, it will just issue warnings
5372      # or remarks (even with -Werror).  So we grep stderr for any message
5373      # that says an option was ignored or not supported.
5374      # When given -MP, icc 7.0 and 7.1 complain thusly:
5375      #   icc: Command line warning: ignoring option '-M'; no argument required
5376      # The diagnosis changed in icc 8.0:
5377      #   icc: Command line remark: option '-MP' not supported
5378      if (grep 'ignoring option' conftest.err ||
5379          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5380        am_cv_CXX_dependencies_compiler_type=$depmode
5381        break
5382      fi
5383    fi
5384  done
5385
5386  cd ..
5387  rm -rf conftest.dir
5388else
5389  am_cv_CXX_dependencies_compiler_type=none
5390fi
5391
5392fi
5393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5394$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5395CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5396
5397 if
5398  test "x$enable_dependency_tracking" != xno \
5399  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5400  am__fastdepCXX_TRUE=
5401  am__fastdepCXX_FALSE='#'
5402else
5403  am__fastdepCXX_TRUE='#'
5404  am__fastdepCXX_FALSE=
5405fi
5406
5407
5408CXXFLAGS=""
5409
5410
5411ac_ext=c
5412ac_cpp='$CPP $CPPFLAGS'
5413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5415ac_compiler_gnu=$ac_cv_c_compiler_gnu
5416if test -n "$ac_tool_prefix"; then
5417  for ac_prog in $cc_list
5418  do
5419    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5420set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422$as_echo_n "checking for $ac_word... " >&6; }
5423if ${ac_cv_prog_CC+:} false; then :
5424  $as_echo_n "(cached) " >&6
5425else
5426  if test -n "$CC"; then
5427  ac_cv_prog_CC="$CC" # Let the user override the test.
5428else
5429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430for as_dir in $PATH
5431do
5432  IFS=$as_save_IFS
5433  test -z "$as_dir" && as_dir=.
5434    for ac_exec_ext in '' $ac_executable_extensions; do
5435  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438    break 2
5439  fi
5440done
5441  done
5442IFS=$as_save_IFS
5443
5444fi
5445fi
5446CC=$ac_cv_prog_CC
5447if test -n "$CC"; then
5448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5449$as_echo "$CC" >&6; }
5450else
5451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452$as_echo "no" >&6; }
5453fi
5454
5455
5456    test -n "$CC" && break
5457  done
5458fi
5459if test -z "$CC"; then
5460  ac_ct_CC=$CC
5461  for ac_prog in $cc_list
5462do
5463  # Extract the first word of "$ac_prog", so it can be a program name with args.
5464set dummy $ac_prog; ac_word=$2
5465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466$as_echo_n "checking for $ac_word... " >&6; }
5467if ${ac_cv_prog_ac_ct_CC+:} false; then :
5468  $as_echo_n "(cached) " >&6
5469else
5470  if test -n "$ac_ct_CC"; then
5471  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5472else
5473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474for as_dir in $PATH
5475do
5476  IFS=$as_save_IFS
5477  test -z "$as_dir" && as_dir=.
5478    for ac_exec_ext in '' $ac_executable_extensions; do
5479  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5480    ac_cv_prog_ac_ct_CC="$ac_prog"
5481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482    break 2
5483  fi
5484done
5485  done
5486IFS=$as_save_IFS
5487
5488fi
5489fi
5490ac_ct_CC=$ac_cv_prog_ac_ct_CC
5491if test -n "$ac_ct_CC"; then
5492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5493$as_echo "$ac_ct_CC" >&6; }
5494else
5495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496$as_echo "no" >&6; }
5497fi
5498
5499
5500  test -n "$ac_ct_CC" && break
5501done
5502
5503  if test "x$ac_ct_CC" = x; then
5504    CC=""
5505  else
5506    case $cross_compiling:$ac_tool_warned in
5507yes:)
5508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5510ac_tool_warned=yes ;;
5511esac
5512    CC=$ac_ct_CC
5513  fi
5514fi
5515
5516
5517test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5518$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5519as_fn_error $? "no acceptable C compiler found in \$PATH
5520See \`config.log' for more details" "$LINENO" 5; }
5521
5522# Provide some information about the compiler.
5523$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5524set X $ac_compile
5525ac_compiler=$2
5526for ac_option in --version -v -V -qversion; do
5527  { { ac_try="$ac_compiler $ac_option >&5"
5528case "(($ac_try" in
5529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5530  *) ac_try_echo=$ac_try;;
5531esac
5532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5533$as_echo "$ac_try_echo"; } >&5
5534  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5535  ac_status=$?
5536  if test -s conftest.err; then
5537    sed '10a\
5538... rest of stderr output deleted ...
5539         10q' conftest.err >conftest.er1
5540    cat conftest.er1 >&5
5541  fi
5542  rm -f conftest.er1 conftest.err
5543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5544  test $ac_status = 0; }
5545done
5546
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5548$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5549if ${ac_cv_c_compiler_gnu+:} false; then :
5550  $as_echo_n "(cached) " >&6
5551else
5552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553/* end confdefs.h.  */
5554
5555int
5556main ()
5557{
5558#ifndef __GNUC__
5559       choke me
5560#endif
5561
5562  ;
5563  return 0;
5564}
5565_ACEOF
5566if ac_fn_c_try_compile "$LINENO"; then :
5567  ac_compiler_gnu=yes
5568else
5569  ac_compiler_gnu=no
5570fi
5571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572ac_cv_c_compiler_gnu=$ac_compiler_gnu
5573
5574fi
5575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5576$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5577if test $ac_compiler_gnu = yes; then
5578  GCC=yes
5579else
5580  GCC=
5581fi
5582ac_test_CFLAGS=${CFLAGS+set}
5583ac_save_CFLAGS=$CFLAGS
5584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5585$as_echo_n "checking whether $CC accepts -g... " >&6; }
5586if ${ac_cv_prog_cc_g+:} false; then :
5587  $as_echo_n "(cached) " >&6
5588else
5589  ac_save_c_werror_flag=$ac_c_werror_flag
5590   ac_c_werror_flag=yes
5591   ac_cv_prog_cc_g=no
5592   CFLAGS="-g"
5593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594/* end confdefs.h.  */
5595
5596int
5597main ()
5598{
5599
5600  ;
5601  return 0;
5602}
5603_ACEOF
5604if ac_fn_c_try_compile "$LINENO"; then :
5605  ac_cv_prog_cc_g=yes
5606else
5607  CFLAGS=""
5608      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609/* end confdefs.h.  */
5610
5611int
5612main ()
5613{
5614
5615  ;
5616  return 0;
5617}
5618_ACEOF
5619if ac_fn_c_try_compile "$LINENO"; then :
5620
5621else
5622  ac_c_werror_flag=$ac_save_c_werror_flag
5623         CFLAGS="-g"
5624         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625/* end confdefs.h.  */
5626
5627int
5628main ()
5629{
5630
5631  ;
5632  return 0;
5633}
5634_ACEOF
5635if ac_fn_c_try_compile "$LINENO"; then :
5636  ac_cv_prog_cc_g=yes
5637fi
5638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639fi
5640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641fi
5642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643   ac_c_werror_flag=$ac_save_c_werror_flag
5644fi
5645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5646$as_echo "$ac_cv_prog_cc_g" >&6; }
5647if test "$ac_test_CFLAGS" = set; then
5648  CFLAGS=$ac_save_CFLAGS
5649elif test $ac_cv_prog_cc_g = yes; then
5650  if test "$GCC" = yes; then
5651    CFLAGS="-g -O2"
5652  else
5653    CFLAGS="-g"
5654  fi
5655else
5656  if test "$GCC" = yes; then
5657    CFLAGS="-O2"
5658  else
5659    CFLAGS=
5660  fi
5661fi
5662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5663$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5664if ${ac_cv_prog_cc_c89+:} false; then :
5665  $as_echo_n "(cached) " >&6
5666else
5667  ac_cv_prog_cc_c89=no
5668ac_save_CC=$CC
5669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670/* end confdefs.h.  */
5671#include <stdarg.h>
5672#include <stdio.h>
5673struct stat;
5674/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5675struct buf { int x; };
5676FILE * (*rcsopen) (struct buf *, struct stat *, int);
5677static char *e (p, i)
5678     char **p;
5679     int i;
5680{
5681  return p[i];
5682}
5683static char *f (char * (*g) (char **, int), char **p, ...)
5684{
5685  char *s;
5686  va_list v;
5687  va_start (v,p);
5688  s = g (p, va_arg (v,int));
5689  va_end (v);
5690  return s;
5691}
5692
5693/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5694   function prototypes and stuff, but not '\xHH' hex character constants.
5695   These don't provoke an error unfortunately, instead are silently treated
5696   as 'x'.  The following induces an error, until -std is added to get
5697   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5698   array size at least.  It's necessary to write '\x00'==0 to get something
5699   that's true only with -std.  */
5700int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5701
5702/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5703   inside strings and character constants.  */
5704#define FOO(x) 'x'
5705int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5706
5707int test (int i, double x);
5708struct s1 {int (*f) (int a);};
5709struct s2 {int (*f) (double a);};
5710int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5711int argc;
5712char **argv;
5713int
5714main ()
5715{
5716return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5717  ;
5718  return 0;
5719}
5720_ACEOF
5721for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5722        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5723do
5724  CC="$ac_save_CC $ac_arg"
5725  if ac_fn_c_try_compile "$LINENO"; then :
5726  ac_cv_prog_cc_c89=$ac_arg
5727fi
5728rm -f core conftest.err conftest.$ac_objext
5729  test "x$ac_cv_prog_cc_c89" != "xno" && break
5730done
5731rm -f conftest.$ac_ext
5732CC=$ac_save_CC
5733
5734fi
5735# AC_CACHE_VAL
5736case "x$ac_cv_prog_cc_c89" in
5737  x)
5738    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5739$as_echo "none needed" >&6; } ;;
5740  xno)
5741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5742$as_echo "unsupported" >&6; } ;;
5743  *)
5744    CC="$CC $ac_cv_prog_cc_c89"
5745    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5746$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5747esac
5748if test "x$ac_cv_prog_cc_c89" != xno; then :
5749
5750fi
5751
5752ac_ext=c
5753ac_cpp='$CPP $CPPFLAGS'
5754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5756ac_compiler_gnu=$ac_cv_c_compiler_gnu
5757
5758ac_ext=c
5759ac_cpp='$CPP $CPPFLAGS'
5760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5762ac_compiler_gnu=$ac_cv_c_compiler_gnu
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5764$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5765if ${am_cv_prog_cc_c_o+:} false; then :
5766  $as_echo_n "(cached) " >&6
5767else
5768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769/* end confdefs.h.  */
5770
5771int
5772main ()
5773{
5774
5775  ;
5776  return 0;
5777}
5778_ACEOF
5779  # Make sure it works both with $CC and with simple cc.
5780  # Following AC_PROG_CC_C_O, we do the test twice because some
5781  # compilers refuse to overwrite an existing .o file with -o,
5782  # though they will create one.
5783  am_cv_prog_cc_c_o=yes
5784  for am_i in 1 2; do
5785    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5786   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5787   ac_status=$?
5788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789   (exit $ac_status); } \
5790         && test -f conftest2.$ac_objext; then
5791      : OK
5792    else
5793      am_cv_prog_cc_c_o=no
5794      break
5795    fi
5796  done
5797  rm -f core conftest*
5798  unset am_i
5799fi
5800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5801$as_echo "$am_cv_prog_cc_c_o" >&6; }
5802if test "$am_cv_prog_cc_c_o" != yes; then
5803   # Losing compiler, so override with the script.
5804   # FIXME: It is wrong to rewrite CC.
5805   # But if we don't then we get into trouble of one sort or another.
5806   # A longer-term fix would be to have automake use am__CC in this case,
5807   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5808   CC="$am_aux_dir/compile $CC"
5809fi
5810ac_ext=c
5811ac_cpp='$CPP $CPPFLAGS'
5812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5814ac_compiler_gnu=$ac_cv_c_compiler_gnu
5815
5816
5817depcc="$CC"   am_compiler_list=
5818
5819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5820$as_echo_n "checking dependency style of $depcc... " >&6; }
5821if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5822  $as_echo_n "(cached) " >&6
5823else
5824  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5825  # We make a subdir and do the tests there.  Otherwise we can end up
5826  # making bogus files that we don't know about and never remove.  For
5827  # instance it was reported that on HP-UX the gcc test will end up
5828  # making a dummy file named 'D' -- because '-MD' means "put the output
5829  # in D".
5830  rm -rf conftest.dir
5831  mkdir conftest.dir
5832  # Copy depcomp to subdir because otherwise we won't find it if we're
5833  # using a relative directory.
5834  cp "$am_depcomp" conftest.dir
5835  cd conftest.dir
5836  # We will build objects and dependencies in a subdirectory because
5837  # it helps to detect inapplicable dependency modes.  For instance
5838  # both Tru64's cc and ICC support -MD to output dependencies as a
5839  # side effect of compilation, but ICC will put the dependencies in
5840  # the current directory while Tru64 will put them in the object
5841  # directory.
5842  mkdir sub
5843
5844  am_cv_CC_dependencies_compiler_type=none
5845  if test "$am_compiler_list" = ""; then
5846     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5847  fi
5848  am__universal=false
5849  case " $depcc " in #(
5850     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5851     esac
5852
5853  for depmode in $am_compiler_list; do
5854    # Setup a source with many dependencies, because some compilers
5855    # like to wrap large dependency lists on column 80 (with \), and
5856    # we should not choose a depcomp mode which is confused by this.
5857    #
5858    # We need to recreate these files for each test, as the compiler may
5859    # overwrite some of them when testing with obscure command lines.
5860    # This happens at least with the AIX C compiler.
5861    : > sub/conftest.c
5862    for i in 1 2 3 4 5 6; do
5863      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5864      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5865      # Solaris 10 /bin/sh.
5866      echo '/* dummy */' > sub/conftst$i.h
5867    done
5868    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5869
5870    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5871    # mode.  It turns out that the SunPro C++ compiler does not properly
5872    # handle '-M -o', and we need to detect this.  Also, some Intel
5873    # versions had trouble with output in subdirs.
5874    am__obj=sub/conftest.${OBJEXT-o}
5875    am__minus_obj="-o $am__obj"
5876    case $depmode in
5877    gcc)
5878      # This depmode causes a compiler race in universal mode.
5879      test "$am__universal" = false || continue
5880      ;;
5881    nosideeffect)
5882      # After this tag, mechanisms are not by side-effect, so they'll
5883      # only be used when explicitly requested.
5884      if test "x$enable_dependency_tracking" = xyes; then
5885        continue
5886      else
5887        break
5888      fi
5889      ;;
5890    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5891      # This compiler won't grok '-c -o', but also, the minuso test has
5892      # not run yet.  These depmodes are late enough in the game, and
5893      # so weak that their functioning should not be impacted.
5894      am__obj=conftest.${OBJEXT-o}
5895      am__minus_obj=
5896      ;;
5897    none) break ;;
5898    esac
5899    if depmode=$depmode \
5900       source=sub/conftest.c object=$am__obj \
5901       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5902       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5903         >/dev/null 2>conftest.err &&
5904       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5905       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5906       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5907       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5908      # icc doesn't choke on unknown options, it will just issue warnings
5909      # or remarks (even with -Werror).  So we grep stderr for any message
5910      # that says an option was ignored or not supported.
5911      # When given -MP, icc 7.0 and 7.1 complain thusly:
5912      #   icc: Command line warning: ignoring option '-M'; no argument required
5913      # The diagnosis changed in icc 8.0:
5914      #   icc: Command line remark: option '-MP' not supported
5915      if (grep 'ignoring option' conftest.err ||
5916          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5917        am_cv_CC_dependencies_compiler_type=$depmode
5918        break
5919      fi
5920    fi
5921  done
5922
5923  cd ..
5924  rm -rf conftest.dir
5925else
5926  am_cv_CC_dependencies_compiler_type=none
5927fi
5928
5929fi
5930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5931$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5932CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5933
5934 if
5935  test "x$enable_dependency_tracking" != xno \
5936  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5937  am__fastdepCC_TRUE=
5938  am__fastdepCC_FALSE='#'
5939else
5940  am__fastdepCC_TRUE='#'
5941  am__fastdepCC_FALSE=
5942fi
5943
5944
5945CFLAGS=""
5946
5947
5948ac_ext=${ac_fc_srcext-f}
5949ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5950ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5951ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5952if test -n "$ac_tool_prefix"; then
5953  for ac_prog in $fc_list
5954  do
5955    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958$as_echo_n "checking for $ac_word... " >&6; }
5959if ${ac_cv_prog_FC+:} false; then :
5960  $as_echo_n "(cached) " >&6
5961else
5962  if test -n "$FC"; then
5963  ac_cv_prog_FC="$FC" # Let the user override the test.
5964else
5965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966for as_dir in $PATH
5967do
5968  IFS=$as_save_IFS
5969  test -z "$as_dir" && as_dir=.
5970    for ac_exec_ext in '' $ac_executable_extensions; do
5971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
5973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974    break 2
5975  fi
5976done
5977  done
5978IFS=$as_save_IFS
5979
5980fi
5981fi
5982FC=$ac_cv_prog_FC
5983if test -n "$FC"; then
5984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
5985$as_echo "$FC" >&6; }
5986else
5987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988$as_echo "no" >&6; }
5989fi
5990
5991
5992    test -n "$FC" && break
5993  done
5994fi
5995if test -z "$FC"; then
5996  ac_ct_FC=$FC
5997  for ac_prog in $fc_list
5998do
5999  # Extract the first word of "$ac_prog", so it can be a program name with args.
6000set dummy $ac_prog; ac_word=$2
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002$as_echo_n "checking for $ac_word... " >&6; }
6003if ${ac_cv_prog_ac_ct_FC+:} false; then :
6004  $as_echo_n "(cached) " >&6
6005else
6006  if test -n "$ac_ct_FC"; then
6007  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
6008else
6009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010for as_dir in $PATH
6011do
6012  IFS=$as_save_IFS
6013  test -z "$as_dir" && as_dir=.
6014    for ac_exec_ext in '' $ac_executable_extensions; do
6015  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016    ac_cv_prog_ac_ct_FC="$ac_prog"
6017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018    break 2
6019  fi
6020done
6021  done
6022IFS=$as_save_IFS
6023
6024fi
6025fi
6026ac_ct_FC=$ac_cv_prog_ac_ct_FC
6027if test -n "$ac_ct_FC"; then
6028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
6029$as_echo "$ac_ct_FC" >&6; }
6030else
6031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032$as_echo "no" >&6; }
6033fi
6034
6035
6036  test -n "$ac_ct_FC" && break
6037done
6038
6039  if test "x$ac_ct_FC" = x; then
6040    FC=""
6041  else
6042    case $cross_compiling:$ac_tool_warned in
6043yes:)
6044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046ac_tool_warned=yes ;;
6047esac
6048    FC=$ac_ct_FC
6049  fi
6050fi
6051
6052
6053# Provide some information about the compiler.
6054$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
6055set X $ac_compile
6056ac_compiler=$2
6057for ac_option in --version -v -V -qversion; do
6058  { { ac_try="$ac_compiler $ac_option >&5"
6059case "(($ac_try" in
6060  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6061  *) ac_try_echo=$ac_try;;
6062esac
6063eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6064$as_echo "$ac_try_echo"; } >&5
6065  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6066  ac_status=$?
6067  if test -s conftest.err; then
6068    sed '10a\
6069... rest of stderr output deleted ...
6070         10q' conftest.err >conftest.er1
6071    cat conftest.er1 >&5
6072  fi
6073  rm -f conftest.er1 conftest.err
6074  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6075  test $ac_status = 0; }
6076done
6077rm -f a.out
6078
6079# If we don't use `.F' as extension, the preprocessor is not run on the
6080# input file.  (Note that this only needs to work for GNU compilers.)
6081ac_save_ext=$ac_ext
6082ac_ext=F
6083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
6084$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
6085if ${ac_cv_fc_compiler_gnu+:} false; then :
6086  $as_echo_n "(cached) " >&6
6087else
6088  cat > conftest.$ac_ext <<_ACEOF
6089      program main
6090#ifndef __GNUC__
6091       choke me
6092#endif
6093
6094      end
6095_ACEOF
6096if ac_fn_fc_try_compile "$LINENO"; then :
6097  ac_compiler_gnu=yes
6098else
6099  ac_compiler_gnu=no
6100fi
6101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102ac_cv_fc_compiler_gnu=$ac_compiler_gnu
6103
6104fi
6105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
6106$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
6107ac_ext=$ac_save_ext
6108ac_test_FCFLAGS=${FCFLAGS+set}
6109ac_save_FCFLAGS=$FCFLAGS
6110FCFLAGS=
6111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
6112$as_echo_n "checking whether $FC accepts -g... " >&6; }
6113if ${ac_cv_prog_fc_g+:} false; then :
6114  $as_echo_n "(cached) " >&6
6115else
6116  FCFLAGS=-g
6117cat > conftest.$ac_ext <<_ACEOF
6118      program main
6119
6120      end
6121_ACEOF
6122if ac_fn_fc_try_compile "$LINENO"; then :
6123  ac_cv_prog_fc_g=yes
6124else
6125  ac_cv_prog_fc_g=no
6126fi
6127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6128
6129fi
6130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
6131$as_echo "$ac_cv_prog_fc_g" >&6; }
6132if test "$ac_test_FCFLAGS" = set; then
6133  FCFLAGS=$ac_save_FCFLAGS
6134elif test $ac_cv_prog_fc_g = yes; then
6135  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
6136    FCFLAGS="-g -O2"
6137  else
6138    FCFLAGS="-g"
6139  fi
6140else
6141  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
6142    FCFLAGS="-O2"
6143  else
6144    FCFLAGS=
6145  fi
6146fi
6147
6148if test $ac_compiler_gnu = yes; then
6149  GFC=yes
6150else
6151  GFC=
6152fi
6153ac_ext=c
6154ac_cpp='$CPP $CPPFLAGS'
6155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6157ac_compiler_gnu=$ac_cv_c_compiler_gnu
6158
6159
6160# Extract the first word of "pkg-config", so it can be a program name with args.
6161set dummy pkg-config; ac_word=$2
6162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163$as_echo_n "checking for $ac_word... " >&6; }
6164if ${ac_cv_prog_have_pkg_config+:} false; then :
6165  $as_echo_n "(cached) " >&6
6166else
6167  if test -n "$have_pkg_config"; then
6168  ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test.
6169else
6170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171for as_dir in $PATH
6172do
6173  IFS=$as_save_IFS
6174  test -z "$as_dir" && as_dir=.
6175    for ac_exec_ext in '' $ac_executable_extensions; do
6176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6177    ac_cv_prog_have_pkg_config="yes"
6178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179    break 2
6180  fi
6181done
6182  done
6183IFS=$as_save_IFS
6184
6185  test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no"
6186fi
6187fi
6188have_pkg_config=$ac_cv_prog_have_pkg_config
6189if test -n "$have_pkg_config"; then
6190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5
6191$as_echo "$have_pkg_config" >&6; }
6192else
6193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194$as_echo "no" >&6; }
6195fi
6196
6197
6198 if test "$have_pkg_config" = "yes"; then
6199  CppAD_PKG_CONFIG_TRUE=
6200  CppAD_PKG_CONFIG_FALSE='#'
6201else
6202  CppAD_PKG_CONFIG_TRUE='#'
6203  CppAD_PKG_CONFIG_FALSE=
6204fi
6205
6206
6207 if test "$have_ar" = 'yes' ; then
6208  CppAD_HAVE_AR_TRUE=
6209  CppAD_HAVE_AR_FALSE='#'
6210else
6211  CppAD_HAVE_AR_TRUE='#'
6212  CppAD_HAVE_AR_FALSE=
6213fi
6214
6215if test "$have_ar" = 'no'; then
6216        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot build any libraries because ar is missing; e.g,, speed/* not built
6217        " >&5
6218$as_echo "$as_me: WARNING: cannot build any libraries because ar is missing; e.g,, speed/* not built
6219        " >&2;}
6220fi
6221
6222cppad_cxx_flags="-g -O0"
6223
6224
6225cppad_extra_debug_01=0
6226
6227
6228cppad_deprecated_01=0
6229
6230
6231
6232cppad_has_colpack=0
6233
6234
6235cppad_has_mkstemp=1
6236
6237cppad_has_tmpnam_s=0
6238
6239
6240cppad_has_nullptr=0
6241
6242cppad_has_rvalue=0
6243
6244cppad_has_cstdint_8_to_64=0
6245
6246cppad_cplusplus_201100_ok=0
6247
6248cppad_has_steady_clock=0
6249
6250
6251ac_ext=c
6252ac_cpp='$CPP $CPPFLAGS'
6253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255ac_compiler_gnu=$ac_cv_c_compiler_gnu
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6257$as_echo_n "checking how to run the C preprocessor... " >&6; }
6258# On Suns, sometimes $CPP names a directory.
6259if test -n "$CPP" && test -d "$CPP"; then
6260  CPP=
6261fi
6262if test -z "$CPP"; then
6263  if ${ac_cv_prog_CPP+:} false; then :
6264  $as_echo_n "(cached) " >&6
6265else
6266      # Double quotes because CPP needs to be expanded
6267    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6268    do
6269      ac_preproc_ok=false
6270for ac_c_preproc_warn_flag in '' yes
6271do
6272  # Use a header file that comes with gcc, so configuring glibc
6273  # with a fresh cross-compiler works.
6274  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6275  # <limits.h> exists even on freestanding compilers.
6276  # On the NeXT, cc -E runs the code through the compiler's parser,
6277  # not just through cpp. "Syntax error" is here to catch this case.
6278  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279/* end confdefs.h.  */
6280#ifdef __STDC__
6281# include <limits.h>
6282#else
6283# include <assert.h>
6284#endif
6285                     Syntax error
6286_ACEOF
6287if ac_fn_c_try_cpp "$LINENO"; then :
6288
6289else
6290  # Broken: fails on valid input.
6291continue
6292fi
6293rm -f conftest.err conftest.i conftest.$ac_ext
6294
6295  # OK, works on sane cases.  Now check whether nonexistent headers
6296  # can be detected and how.
6297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298/* end confdefs.h.  */
6299#include <ac_nonexistent.h>
6300_ACEOF
6301if ac_fn_c_try_cpp "$LINENO"; then :
6302  # Broken: success on invalid input.
6303continue
6304else
6305  # Passes both tests.
6306ac_preproc_ok=:
6307break
6308fi
6309rm -f conftest.err conftest.i conftest.$ac_ext
6310
6311done
6312# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6313rm -f conftest.i conftest.err conftest.$ac_ext
6314if $ac_preproc_ok; then :
6315  break
6316fi
6317
6318    done
6319    ac_cv_prog_CPP=$CPP
6320
6321fi
6322  CPP=$ac_cv_prog_CPP
6323else
6324  ac_cv_prog_CPP=$CPP
6325fi
6326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6327$as_echo "$CPP" >&6; }
6328ac_preproc_ok=false
6329for ac_c_preproc_warn_flag in '' yes
6330do
6331  # Use a header file that comes with gcc, so configuring glibc
6332  # with a fresh cross-compiler works.
6333  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6334  # <limits.h> exists even on freestanding compilers.
6335  # On the NeXT, cc -E runs the code through the compiler's parser,
6336  # not just through cpp. "Syntax error" is here to catch this case.
6337  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338/* end confdefs.h.  */
6339#ifdef __STDC__
6340# include <limits.h>
6341#else
6342# include <assert.h>
6343#endif
6344                     Syntax error
6345_ACEOF
6346if ac_fn_c_try_cpp "$LINENO"; then :
6347
6348else
6349  # Broken: fails on valid input.
6350continue
6351fi
6352rm -f conftest.err conftest.i conftest.$ac_ext
6353
6354  # OK, works on sane cases.  Now check whether nonexistent headers
6355  # can be detected and how.
6356  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357/* end confdefs.h.  */
6358#include <ac_nonexistent.h>
6359_ACEOF
6360if ac_fn_c_try_cpp "$LINENO"; then :
6361  # Broken: success on invalid input.
6362continue
6363else
6364  # Passes both tests.
6365ac_preproc_ok=:
6366break
6367fi
6368rm -f conftest.err conftest.i conftest.$ac_ext
6369
6370done
6371# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6372rm -f conftest.i conftest.err conftest.$ac_ext
6373if $ac_preproc_ok; then :
6374
6375else
6376  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6378as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6379See \`config.log' for more details" "$LINENO" 5; }
6380fi
6381
6382ac_ext=c
6383ac_cpp='$CPP $CPPFLAGS'
6384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6386ac_compiler_gnu=$ac_cv_c_compiler_gnu
6387
6388
6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6390$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6391if ${ac_cv_path_GREP+:} false; then :
6392  $as_echo_n "(cached) " >&6
6393else
6394  if test -z "$GREP"; then
6395  ac_path_GREP_found=false
6396  # Loop through the user's path and test for each of PROGNAME-LIST
6397  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6399do
6400  IFS=$as_save_IFS
6401  test -z "$as_dir" && as_dir=.
6402    for ac_prog in grep ggrep; do
6403    for ac_exec_ext in '' $ac_executable_extensions; do
6404      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6405      as_fn_executable_p "$ac_path_GREP" || continue
6406# Check for GNU ac_path_GREP and select it if it is found.
6407  # Check for GNU $ac_path_GREP
6408case `"$ac_path_GREP" --version 2>&1` in
6409*GNU*)
6410  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6411*)
6412  ac_count=0
6413  $as_echo_n 0123456789 >"conftest.in"
6414  while :
6415  do
6416    cat "conftest.in" "conftest.in" >"conftest.tmp"
6417    mv "conftest.tmp" "conftest.in"
6418    cp "conftest.in" "conftest.nl"
6419    $as_echo 'GREP' >> "conftest.nl"
6420    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6421    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6422    as_fn_arith $ac_count + 1 && ac_count=$as_val
6423    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6424      # Best one so far, save it but keep looking for a better one
6425      ac_cv_path_GREP="$ac_path_GREP"
6426      ac_path_GREP_max=$ac_count
6427    fi
6428    # 10*(2^10) chars as input seems more than enough
6429    test $ac_count -gt 10 && break
6430  done
6431  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6432esac
6433
6434      $ac_path_GREP_found && break 3
6435    done
6436  done
6437  done
6438IFS=$as_save_IFS
6439  if test -z "$ac_cv_path_GREP"; then
6440    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6441  fi
6442else
6443  ac_cv_path_GREP=$GREP
6444fi
6445
6446fi
6447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6448$as_echo "$ac_cv_path_GREP" >&6; }
6449 GREP="$ac_cv_path_GREP"
6450
6451
6452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6453$as_echo_n "checking for egrep... " >&6; }
6454if ${ac_cv_path_EGREP+:} false; then :
6455  $as_echo_n "(cached) " >&6
6456else
6457  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6458   then ac_cv_path_EGREP="$GREP -E"
6459   else
6460     if test -z "$EGREP"; then
6461  ac_path_EGREP_found=false
6462  # Loop through the user's path and test for each of PROGNAME-LIST
6463  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6465do
6466  IFS=$as_save_IFS
6467  test -z "$as_dir" && as_dir=.
6468    for ac_prog in egrep; do
6469    for ac_exec_ext in '' $ac_executable_extensions; do
6470      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6471      as_fn_executable_p "$ac_path_EGREP" || continue
6472# Check for GNU ac_path_EGREP and select it if it is found.
6473  # Check for GNU $ac_path_EGREP
6474case `"$ac_path_EGREP" --version 2>&1` in
6475*GNU*)
6476  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6477*)
6478  ac_count=0
6479  $as_echo_n 0123456789 >"conftest.in"
6480  while :
6481  do
6482    cat "conftest.in" "conftest.in" >"conftest.tmp"
6483    mv "conftest.tmp" "conftest.in"
6484    cp "conftest.in" "conftest.nl"
6485    $as_echo 'EGREP' >> "conftest.nl"
6486    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6487    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6488    as_fn_arith $ac_count + 1 && ac_count=$as_val
6489    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6490      # Best one so far, save it but keep looking for a better one
6491      ac_cv_path_EGREP="$ac_path_EGREP"
6492      ac_path_EGREP_max=$ac_count
6493    fi
6494    # 10*(2^10) chars as input seems more than enough
6495    test $ac_count -gt 10 && break
6496  done
6497  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6498esac
6499
6500      $ac_path_EGREP_found && break 3
6501    done
6502  done
6503  done
6504IFS=$as_save_IFS
6505  if test -z "$ac_cv_path_EGREP"; then
6506    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6507  fi
6508else
6509  ac_cv_path_EGREP=$EGREP
6510fi
6511
6512   fi
6513fi
6514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6515$as_echo "$ac_cv_path_EGREP" >&6; }
6516 EGREP="$ac_cv_path_EGREP"
6517
6518
6519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6520$as_echo_n "checking for ANSI C header files... " >&6; }
6521if ${ac_cv_header_stdc+:} false; then :
6522  $as_echo_n "(cached) " >&6
6523else
6524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525/* end confdefs.h.  */
6526#include <stdlib.h>
6527#include <stdarg.h>
6528#include <string.h>
6529#include <float.h>
6530
6531int
6532main ()
6533{
6534
6535  ;
6536  return 0;
6537}
6538_ACEOF
6539if ac_fn_c_try_compile "$LINENO"; then :
6540  ac_cv_header_stdc=yes
6541else
6542  ac_cv_header_stdc=no
6543fi
6544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545
6546if test $ac_cv_header_stdc = yes; then
6547  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6548  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549/* end confdefs.h.  */
6550#include <string.h>
6551
6552_ACEOF
6553if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554  $EGREP "memchr" >/dev/null 2>&1; then :
6555
6556else
6557  ac_cv_header_stdc=no
6558fi
6559rm -f conftest*
6560
6561fi
6562
6563if test $ac_cv_header_stdc = yes; then
6564  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566/* end confdefs.h.  */
6567#include <stdlib.h>
6568
6569_ACEOF
6570if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6571  $EGREP "free" >/dev/null 2>&1; then :
6572
6573else
6574  ac_cv_header_stdc=no
6575fi
6576rm -f conftest*
6577
6578fi
6579
6580if test $ac_cv_header_stdc = yes; then
6581  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6582  if test "$cross_compiling" = yes; then :
6583  :
6584else
6585  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586/* end confdefs.h.  */
6587#include <ctype.h>
6588#include <stdlib.h>
6589#if ((' ' & 0x0FF) == 0x020)
6590# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6591# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6592#else
6593# define ISLOWER(c) \
6594                   (('a' <= (c) && (c) <= 'i') \
6595                     || ('j' <= (c) && (c) <= 'r') \
6596                     || ('s' <= (c) && (c) <= 'z'))
6597# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6598#endif
6599
6600#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6601int
6602main ()
6603{
6604  int i;
6605  for (i = 0; i < 256; i++)
6606    if (XOR (islower (i), ISLOWER (i))
6607        || toupper (i) != TOUPPER (i))
6608      return 2;
6609  return 0;
6610}
6611_ACEOF
6612if ac_fn_c_try_run "$LINENO"; then :
6613
6614else
6615  ac_cv_header_stdc=no
6616fi
6617rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6618  conftest.$ac_objext conftest.beam conftest.$ac_ext
6619fi
6620
6621fi
6622fi
6623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6624$as_echo "$ac_cv_header_stdc" >&6; }
6625if test $ac_cv_header_stdc = yes; then
6626
6627$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6628
6629fi
6630
6631# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6632for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6633                  inttypes.h stdint.h unistd.h
6634do :
6635  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6636ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6637"
6638if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6639  cat >>confdefs.h <<_ACEOF
6640#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641_ACEOF
6642
6643fi
6644
6645done
6646
6647
6648# The cast to long int works around a bug in the HP C Compiler
6649# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6650# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6651# This bug is HP SR number 8606223364.
6652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
6653$as_echo_n "checking size of size_t... " >&6; }
6654if ${ac_cv_sizeof_size_t+:} false; then :
6655  $as_echo_n "(cached) " >&6
6656else
6657  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
6658
6659else
6660  if test "$ac_cv_type_size_t" = yes; then
6661     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6663as_fn_error 77 "cannot compute sizeof (size_t)
6664See \`config.log' for more details" "$LINENO" 5; }
6665   else
6666     ac_cv_sizeof_size_t=0
6667   fi
6668fi
6669
6670fi
6671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
6672$as_echo "$ac_cv_sizeof_size_t" >&6; }
6673
6674
6675
6676cat >>confdefs.h <<_ACEOF
6677#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
6678_ACEOF
6679
6680
6681# The cast to long int works around a bug in the HP C Compiler
6682# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6683# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6684# This bug is HP SR number 8606223364.
6685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
6686$as_echo_n "checking size of unsigned int... " >&6; }
6687if ${ac_cv_sizeof_unsigned_int+:} false; then :
6688  $as_echo_n "(cached) " >&6
6689else
6690  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
6691
6692else
6693  if test "$ac_cv_type_unsigned_int" = yes; then
6694     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6696as_fn_error 77 "cannot compute sizeof (unsigned int)
6697See \`config.log' for more details" "$LINENO" 5; }
6698   else
6699     ac_cv_sizeof_unsigned_int=0
6700   fi
6701fi
6702
6703fi
6704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
6705$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
6706
6707
6708
6709cat >>confdefs.h <<_ACEOF
6710#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
6711_ACEOF
6712
6713
6714if test "$ac_cv_sizeof_size_t" != "$ac_cv_sizeof_unsigned_int" ; then
6715        cppad_size_t_not_unsigned_int=1
6716
6717else
6718        cppad_size_t_not_unsigned_int=0
6719
6720fi
6721
6722if test "$stdvector$boostvector$eigenvector" = "nonono" ; then
6723        cppad_cppadvector=1
6724
6725else
6726        cppad_cppadvector=0
6727
6728fi
6729
6730ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
6731if test "x$ac_cv_func_gettimeofday" = xyes; then :
6732  gettimeofday="yes"
6733else
6734  gettimeofday="no"
6735
6736fi
6737
6738if test "$gettimeofday" = "yes" ; then
6739        cppad_has_gettimeofday=1
6740
6741else
6742        cppad_has_gettimeofday=0
6743
6744fi
6745
6746
6747if test -n "$ac_tool_prefix"; then
6748  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6749set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751$as_echo_n "checking for $ac_word... " >&6; }
6752if ${ac_cv_prog_RANLIB+:} false; then :
6753  $as_echo_n "(cached) " >&6
6754else
6755  if test -n "$RANLIB"; then
6756  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6757else
6758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759for as_dir in $PATH
6760do
6761  IFS=$as_save_IFS
6762  test -z "$as_dir" && as_dir=.
6763    for ac_exec_ext in '' $ac_executable_extensions; do
6764  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6766    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767    break 2
6768  fi
6769done
6770  done
6771IFS=$as_save_IFS
6772
6773fi
6774fi
6775RANLIB=$ac_cv_prog_RANLIB
6776if test -n "$RANLIB"; then
6777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6778$as_echo "$RANLIB" >&6; }
6779else
6780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781$as_echo "no" >&6; }
6782fi
6783
6784
6785fi
6786if test -z "$ac_cv_prog_RANLIB"; then
6787  ac_ct_RANLIB=$RANLIB
6788  # Extract the first word of "ranlib", so it can be a program name with args.
6789set dummy ranlib; ac_word=$2
6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791$as_echo_n "checking for $ac_word... " >&6; }
6792if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6793  $as_echo_n "(cached) " >&6
6794else
6795  if test -n "$ac_ct_RANLIB"; then
6796  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6797else
6798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799for as_dir in $PATH
6800do
6801  IFS=$as_save_IFS
6802  test -z "$as_dir" && as_dir=.
6803    for ac_exec_ext in '' $ac_executable_extensions; do
6804  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805    ac_cv_prog_ac_ct_RANLIB="ranlib"
6806    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807    break 2
6808  fi
6809done
6810  done
6811IFS=$as_save_IFS
6812
6813fi
6814fi
6815ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6816if test -n "$ac_ct_RANLIB"; then
6817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6818$as_echo "$ac_ct_RANLIB" >&6; }
6819else
6820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821$as_echo "no" >&6; }
6822fi
6823
6824  if test "x$ac_ct_RANLIB" = x; then
6825    RANLIB=":"
6826  else
6827    case $cross_compiling:$ac_tool_warned in
6828yes:)
6829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831ac_tool_warned=yes ;;
6832esac
6833    RANLIB=$ac_ct_RANLIB
6834  fi
6835else
6836  RANLIB="$ac_cv_prog_RANLIB"
6837fi
6838
6839
6840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using Microsoft C++ compiler" >&5
6841$as_echo_n "checking whether using Microsoft C++ compiler... " >&6; }
6842 if test "$CXX" == "cl" || test "$CXX" == "icl"; then
6843  CppAD_MS_COMPILER_TRUE=
6844  CppAD_MS_COMPILER_FALSE='#'
6845else
6846  CppAD_MS_COMPILER_TRUE='#'
6847  CppAD_MS_COMPILER_FALSE=
6848fi
6849
6850if test "$CXX" == "cl" || test "$CXX" == "icl"; then
6851        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6852$as_echo "yes" >&6; }
6853else
6854        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855$as_echo "no" >&6; }
6856fi
6857
6858
6859
6860
6861
6862ac_ext=c
6863ac_cpp='$CPP $CPPFLAGS'
6864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6866ac_compiler_gnu=$ac_cv_c_compiler_gnu
6867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6868$as_echo_n "checking how to run the C preprocessor... " >&6; }
6869# On Suns, sometimes $CPP names a directory.
6870if test -n "$CPP" && test -d "$CPP"; then
6871  CPP=
6872fi
6873if test -z "$CPP"; then
6874  if ${ac_cv_prog_CPP+:} false; then :
6875  $as_echo_n "(cached) " >&6
6876else
6877      # Double quotes because CPP needs to be expanded
6878    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6879    do
6880      ac_preproc_ok=false
6881for ac_c_preproc_warn_flag in '' yes
6882do
6883  # Use a header file that comes with gcc, so configuring glibc
6884  # with a fresh cross-compiler works.
6885  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6886  # <limits.h> exists even on freestanding compilers.
6887  # On the NeXT, cc -E runs the code through the compiler's parser,
6888  # not just through cpp. "Syntax error" is here to catch this case.
6889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890/* end confdefs.h.  */
6891#ifdef __STDC__
6892# include <limits.h>
6893#else
6894# include <assert.h>
6895#endif
6896                     Syntax error
6897_ACEOF
6898if ac_fn_c_try_cpp "$LINENO"; then :
6899
6900else
6901  # Broken: fails on valid input.
6902continue
6903fi
6904rm -f conftest.err conftest.i conftest.$ac_ext
6905
6906  # OK, works on sane cases.  Now check whether nonexistent headers
6907  # can be detected and how.
6908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6909/* end confdefs.h.  */
6910#include <ac_nonexistent.h>
6911_ACEOF
6912if ac_fn_c_try_cpp "$LINENO"; then :
6913  # Broken: success on invalid input.
6914continue
6915else
6916  # Passes both tests.
6917ac_preproc_ok=:
6918break
6919fi
6920rm -f conftest.err conftest.i conftest.$ac_ext
6921
6922done
6923# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6924rm -f conftest.i conftest.err conftest.$ac_ext
6925if $ac_preproc_ok; then :
6926  break
6927fi
6928
6929    done
6930    ac_cv_prog_CPP=$CPP
6931
6932fi
6933  CPP=$ac_cv_prog_CPP
6934else
6935  ac_cv_prog_CPP=$CPP
6936fi
6937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6938$as_echo "$CPP" >&6; }
6939ac_preproc_ok=false
6940for ac_c_preproc_warn_flag in '' yes
6941do
6942  # Use a header file that comes with gcc, so configuring glibc
6943  # with a fresh cross-compiler works.
6944  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6945  # <limits.h> exists even on freestanding compilers.
6946  # On the NeXT, cc -E runs the code through the compiler's parser,
6947  # not just through cpp. "Syntax error" is here to catch this case.
6948  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949/* end confdefs.h.  */
6950#ifdef __STDC__
6951# include <limits.h>
6952#else
6953# include <assert.h>
6954#endif
6955                     Syntax error
6956_ACEOF
6957if ac_fn_c_try_cpp "$LINENO"; then :
6958
6959else
6960  # Broken: fails on valid input.
6961continue
6962fi
6963rm -f conftest.err conftest.i conftest.$ac_ext
6964
6965  # OK, works on sane cases.  Now check whether nonexistent headers
6966  # can be detected and how.
6967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6968/* end confdefs.h.  */
6969#include <ac_nonexistent.h>
6970_ACEOF
6971if ac_fn_c_try_cpp "$LINENO"; then :
6972  # Broken: success on invalid input.
6973continue
6974else
6975  # Passes both tests.
6976ac_preproc_ok=:
6977break
6978fi
6979rm -f conftest.err conftest.i conftest.$ac_ext
6980
6981done
6982# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6983rm -f conftest.i conftest.err conftest.$ac_ext
6984if $ac_preproc_ok; then :
6985
6986else
6987  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6988$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6989as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6990See \`config.log' for more details" "$LINENO" 5; }
6991fi
6992
6993ac_ext=c
6994ac_cpp='$CPP $CPPFLAGS'
6995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6997ac_compiler_gnu=$ac_cv_c_compiler_gnu
6998
6999
7000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7001$as_echo_n "checking for inline... " >&6; }
7002if ${ac_cv_c_inline+:} false; then :
7003  $as_echo_n "(cached) " >&6
7004else
7005  ac_cv_c_inline=no
7006for ac_kw in inline __inline__ __inline; do
7007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008/* end confdefs.h.  */
7009#ifndef __cplusplus
7010typedef int foo_t;
7011static $ac_kw foo_t static_foo () {return 0; }
7012$ac_kw foo_t foo () {return 0; }
7013#endif
7014
7015_ACEOF
7016if ac_fn_c_try_compile "$LINENO"; then :
7017  ac_cv_c_inline=$ac_kw
7018fi
7019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020  test "$ac_cv_c_inline" != no && break
7021done
7022
7023fi
7024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7025$as_echo "$ac_cv_c_inline" >&6; }
7026
7027case $ac_cv_c_inline in
7028  inline | yes) ;;
7029  *)
7030    case $ac_cv_c_inline in
7031      no) ac_val=;;
7032      *) ac_val=$ac_cv_c_inline;;
7033    esac
7034    cat >>confdefs.h <<_ACEOF
7035#ifndef __cplusplus
7036#define inline $ac_val
7037#endif
7038_ACEOF
7039    ;;
7040esac
7041
7042
7043# Make sure we can run config.sub.
7044$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7045  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
7046
7047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7048$as_echo_n "checking build system type... " >&6; }
7049if ${ac_cv_build+:} false; then :
7050  $as_echo_n "(cached) " >&6
7051else
7052  ac_build_alias=$build_alias
7053test "x$ac_build_alias" = x &&
7054  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7055test "x$ac_build_alias" = x &&
7056  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
7057ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7058  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
7059
7060fi
7061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7062$as_echo "$ac_cv_build" >&6; }
7063case $ac_cv_build in
7064*-*-*) ;;
7065*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
7066esac
7067build=$ac_cv_build
7068ac_save_IFS=$IFS; IFS='-'
7069set x $ac_cv_build
7070shift
7071build_cpu=$1
7072build_vendor=$2
7073shift; shift
7074# Remember, the first character of IFS is used to create $*,
7075# except with old shells:
7076build_os=$*
7077IFS=$ac_save_IFS
7078case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7079
7080
7081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7082$as_echo_n "checking host system type... " >&6; }
7083if ${ac_cv_host+:} false; then :
7084  $as_echo_n "(cached) " >&6
7085else
7086  if test "x$host_alias" = x; then
7087  ac_cv_host=$ac_cv_build
7088else
7089  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7090    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
7091fi
7092
7093fi
7094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7095$as_echo "$ac_cv_host" >&6; }
7096case $ac_cv_host in
7097*-*-*) ;;
7098*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
7099esac
7100host=$ac_cv_host
7101ac_save_IFS=$IFS; IFS='-'
7102set x $ac_cv_host
7103shift
7104host_cpu=$1
7105host_vendor=$2
7106shift; shift
7107# Remember, the first character of IFS is used to create $*,
7108# except with old shells:
7109host_os=$*
7110IFS=$ac_save_IFS
7111case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7112
7113
7114
7115ac_ext=${ac_fc_srcext-f}
7116ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
7117ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
7118ac_compiler_gnu=$ac_cv_fc_compiler_gnu
7119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5
7120$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
7121if ${ac_cv_prog_fc_v+:} false; then :
7122  $as_echo_n "(cached) " >&6
7123else
7124  cat > conftest.$ac_ext <<_ACEOF
7125      program main
7126
7127      end
7128_ACEOF
7129if ac_fn_fc_try_compile "$LINENO"; then :
7130  ac_cv_prog_fc_v=
7131# Try some options frequently used verbose output
7132for ac_verb in -v -verbose --verbose -V -\#\#\#; do
7133  cat > conftest.$ac_ext <<_ACEOF
7134      program main
7135
7136      end
7137_ACEOF
7138
7139# Compile and link our simple test program by passing a flag (argument
7140# 1 to this macro) to the Fortran compiler in order to get
7141# "verbose" output that we can then parse for the Fortran linker
7142# flags.
7143ac_save_FCFLAGS=$FCFLAGS
7144FCFLAGS="$FCFLAGS $ac_verb"
7145eval "set x $ac_link"
7146shift
7147$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
7148# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
7149# LIBRARY_PATH; skip all such settings.
7150ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
7151  sed '/^Driving:/d; /^Configured with:/d;
7152      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
7153$as_echo "$ac_fc_v_output" >&5
7154FCFLAGS=$ac_save_FCFLAGS
7155
7156rm -rf conftest*
7157
7158# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
7159# /foo, /bar, and /baz are search directories for the Fortran linker.
7160# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
7161ac_fc_v_output="`echo $ac_fc_v_output |
7162        grep 'LPATH is:' |
7163        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
7164
7165# FIXME: we keep getting bitten by quoted arguments; a more general fix
7166#        that detects unbalanced quotes in FLIBS should be implemented
7167#        and (ugh) tested at some point.
7168case $ac_fc_v_output in
7169  # With xlf replace commas with spaces,
7170  # and remove "-link" and closing parenthesis.
7171  *xlfentry*)
7172    ac_fc_v_output=`echo $ac_fc_v_output |
7173      sed '
7174        s/,/ /g
7175        s/ -link / /g
7176        s/) *$//
7177      '
7178    ` ;;
7179
7180  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
7181  # $LIBS confuse us, and the libraries appear later in the output anyway).
7182  *mGLOB_options_string*)
7183    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
7184
7185  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
7186  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
7187  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
7188  *-cmdline\ * | *-ignore\ * | *-def\ *)
7189    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
7190        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
7191        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
7192        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
7193
7194  # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
7195  *fort77*f2c*gcc*)
7196    ac_fc_v_output=`echo "$ac_fc_v_output" | sed -n '
7197        /:[      ]\+Running[     ]\{1,\}"gcc"/{
7198          /"-c"/d
7199          /[.]c"*/d
7200          s/^.*"gcc"/"gcc"/
7201          s/"//gp
7202        }'` ;;
7203
7204  # If we are using Cray Fortran then delete quotes.
7205  *cft90*)
7206    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;;
7207esac
7208
7209
7210  # look for -l* and *.a constructs in the output
7211  for ac_arg in $ac_fc_v_output; do
7212     case $ac_arg in
7213        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
7214          ac_cv_prog_fc_v=$ac_verb
7215          break 2 ;;
7216     esac
7217  done
7218done
7219if test -z "$ac_cv_prog_fc_v"; then
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $FC" >&5
7221$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;}
7222fi
7223else
7224  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
7225$as_echo "$as_me: WARNING: compilation failed" >&2;}
7226fi
7227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7228
7229fi
7230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_v" >&5
7231$as_echo "$ac_cv_prog_fc_v" >&6; }
7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5
7233$as_echo_n "checking for Fortran libraries of $FC... " >&6; }
7234if ${ac_cv_fc_libs+:} false; then :
7235  $as_echo_n "(cached) " >&6
7236else
7237  if test "x$FCLIBS" != "x"; then
7238  ac_cv_fc_libs="$FCLIBS" # Let the user override the test.
7239else
7240
7241cat > conftest.$ac_ext <<_ACEOF
7242      program main
7243
7244      end
7245_ACEOF
7246
7247# Compile and link our simple test program by passing a flag (argument
7248# 1 to this macro) to the Fortran compiler in order to get
7249# "verbose" output that we can then parse for the Fortran linker
7250# flags.
7251ac_save_FCFLAGS=$FCFLAGS
7252FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
7253eval "set x $ac_link"
7254shift
7255$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
7256# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
7257# LIBRARY_PATH; skip all such settings.
7258ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
7259  sed '/^Driving:/d; /^Configured with:/d;
7260      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
7261$as_echo "$ac_fc_v_output" >&5
7262FCFLAGS=$ac_save_FCFLAGS
7263
7264rm -rf conftest*
7265
7266# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
7267# /foo, /bar, and /baz are search directories for the Fortran linker.
7268# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
7269ac_fc_v_output="`echo $ac_fc_v_output |
7270        grep 'LPATH is:' |
7271        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
7272
7273# FIXME: we keep getting bitten by quoted arguments; a more general fix
7274#        that detects unbalanced quotes in FLIBS should be implemented
7275#        and (ugh) tested at some point.
7276case $ac_fc_v_output in
7277  # With xlf replace commas with spaces,
7278  # and remove "-link" and closing parenthesis.
7279  *xlfentry*)
7280    ac_fc_v_output=`echo $ac_fc_v_output |
7281      sed '
7282        s/,/ /g
7283        s/ -link / /g
7284        s/) *$//
7285      '
7286    ` ;;
7287
7288  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
7289  # $LIBS confuse us, and the libraries appear later in the output anyway).
7290  *mGLOB_options_string*)
7291    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
7292
7293  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
7294  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
7295  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
7296  *-cmdline\ * | *-ignore\ * | *-def\ *)
7297    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
7298        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
7299        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
7300        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
7301
7302  # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
7303  *fort77*f2c*gcc*)
7304    ac_fc_v_output=`echo "$ac_fc_v_output" | sed -n '
7305        /:[      ]\+Running[     ]\{1,\}"gcc"/{
7306          /"-c"/d
7307          /[.]c"*/d
7308          s/^.*"gcc"/"gcc"/
7309          s/"//gp
7310        }'` ;;
7311
7312  # If we are using Cray Fortran then delete quotes.
7313  *cft90*)
7314    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;;
7315esac
7316
7317
7318
7319ac_cv_fc_libs=
7320
7321# Save positional arguments (if any)
7322ac_save_positional="$@"
7323
7324set X $ac_fc_v_output
7325while test $# != 1; do
7326  shift
7327  ac_arg=$1
7328  case $ac_arg in
7329        [\\/]*.a | ?:[\\/]*.a)
7330            ac_exists=false
7331  for ac_i in $ac_cv_fc_libs; do
7332    if test x"$ac_arg" = x"$ac_i"; then
7333      ac_exists=true
7334      break
7335    fi
7336  done
7337
7338  if test x"$ac_exists" = xtrue; then :
7339
7340else
7341  ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7342fi
7343          ;;
7344        -bI:*)
7345            ac_exists=false
7346  for ac_i in $ac_cv_fc_libs; do
7347    if test x"$ac_arg" = x"$ac_i"; then
7348      ac_exists=true
7349      break
7350    fi
7351  done
7352
7353  if test x"$ac_exists" = xtrue; then :
7354
7355else
7356  if test "$ac_compiler_gnu" = yes; then
7357  for ac_link_opt in $ac_arg; do
7358    ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt"
7359  done
7360else
7361  ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7362fi
7363fi
7364          ;;
7365          # Ignore these flags.
7366        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
7367          |-LANG:=* | -LIST:* | -LNO:* | -link)
7368          ;;
7369        -lkernel32)
7370          case $host_os in
7371          *cygwin*) ;;
7372          *) ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7373            ;;
7374          esac
7375          ;;
7376        -[LRuYz])
7377          # These flags, when seen by themselves, take an argument.
7378          # We remove the space between option and argument and re-iterate
7379          # unless we find an empty arg or a new option (starting with -)
7380          case $2 in
7381             "" | -*);;
7382             *)
7383                ac_arg="$ac_arg$2"
7384                shift; shift
7385                set X $ac_arg "$@"
7386                ;;
7387          esac
7388          ;;
7389        -YP,*)
7390          for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
7391              ac_exists=false
7392  for ac_i in $ac_cv_fc_libs; do
7393    if test x"$ac_j" = x"$ac_i"; then
7394      ac_exists=true
7395      break
7396    fi
7397  done
7398
7399  if test x"$ac_exists" = xtrue; then :
7400
7401else
7402  ac_arg="$ac_arg $ac_j"
7403                               ac_cv_fc_libs="$ac_cv_fc_libs $ac_j"
7404fi
7405          done
7406          ;;
7407        -[lLR]*)
7408            ac_exists=false
7409  for ac_i in $ac_cv_fc_libs; do
7410    if test x"$ac_arg" = x"$ac_i"; then
7411      ac_exists=true
7412      break
7413    fi
7414  done
7415
7416  if test x"$ac_exists" = xtrue; then :
7417
7418else
7419  ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7420fi
7421          ;;
7422        -zallextract*| -zdefaultextract)
7423          ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7424          ;;
7425          # Ignore everything else.
7426  esac
7427done
7428# restore positional arguments
7429set X $ac_save_positional; shift
7430
7431# We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
7432# then we insist that the "run path" must be an absolute path (i.e. it
7433# must begin with a "/").
7434case `(uname -sr) 2>/dev/null` in
7435   "SunOS 5"*)
7436      ac_ld_run_path=`$as_echo "$ac_fc_v_output" |
7437                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
7438      test "x$ac_ld_run_path" != x &&
7439        if test "$ac_compiler_gnu" = yes; then
7440  for ac_link_opt in $ac_ld_run_path; do
7441    ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt"
7442  done
7443else
7444  ac_cv_fc_libs="$ac_cv_fc_libs $ac_ld_run_path"
7445fi
7446      ;;
7447esac
7448fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
7449
7450fi
7451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_libs" >&5
7452$as_echo "$ac_cv_fc_libs" >&6; }
7453FCLIBS="$ac_cv_fc_libs"
7454
7455
7456ac_ext=c
7457ac_cpp='$CPP $CPPFLAGS'
7458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7460ac_compiler_gnu=$ac_cv_c_compiler_gnu
7461
7462
7463abs_top_builddir=`pwd`
7464ABS_TOP_BUILDDIR="$abs_top_builddir"
7465
7466abs_top_srcdir=`cd $srcdir ; pwd`
7467ABS_TOP_SRCDIR="$abs_top_srcdir"
7468
7469
7470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_wait in -lpthread" >&5
7471$as_echo_n "checking for pthread_barrier_wait in -lpthread... " >&6; }
7472if ${ac_cv_lib_pthread_pthread_barrier_wait+:} false; then :
7473  $as_echo_n "(cached) " >&6
7474else
7475  ac_check_lib_save_LIBS=$LIBS
7476LIBS="-lpthread  $LIBS"
7477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7478/* end confdefs.h.  */
7479
7480/* Override any GCC internal prototype to avoid an error.
7481   Use char because int might match the return type of a GCC
7482   builtin and then its argument prototype would still apply.  */
7483#ifdef __cplusplus
7484extern "C"
7485#endif
7486char pthread_barrier_wait ();
7487int
7488main ()
7489{
7490return pthread_barrier_wait ();
7491  ;
7492  return 0;
7493}
7494_ACEOF
7495if ac_fn_c_try_link "$LINENO"; then :
7496  ac_cv_lib_pthread_pthread_barrier_wait=yes
7497else
7498  ac_cv_lib_pthread_pthread_barrier_wait=no
7499fi
7500rm -f core conftest.err conftest.$ac_objext \
7501    conftest$ac_exeext conftest.$ac_ext
7502LIBS=$ac_check_lib_save_LIBS
7503fi
7504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_barrier_wait" >&5
7505$as_echo "$ac_cv_lib_pthread_pthread_barrier_wait" >&6; }
7506if test "x$ac_cv_lib_pthread_pthread_barrier_wait" = xyes; then :
7507  pthread="yes"
7508else
7509  pthread="no"
7510
7511fi
7512
7513 if test "$pthread" = "yes"; then
7514  CppAD_PTHREAD_TRUE=
7515  CppAD_PTHREAD_FALSE='#'
7516else
7517  CppAD_PTHREAD_TRUE='#'
7518  CppAD_PTHREAD_FALSE=
7519fi
7520
7521if test "$pthread" == "yes" ; then
7522        PTHREAD_LIB="-lpthread"
7523
7524else
7525        PTHREAD_LIB=""
7526
7527fi
7528
7529DL_LIB=""
7530
7531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7532$as_echo_n "checking for dlopen in -ldl... " >&6; }
7533if ${ac_cv_lib_dl_dlopen+:} false; then :
7534  $as_echo_n "(cached) " >&6
7535else
7536  ac_check_lib_save_LIBS=$LIBS
7537LIBS="-ldl  $LIBS"
7538cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539/* end confdefs.h.  */
7540
7541/* Override any GCC internal prototype to avoid an error.
7542   Use char because int might match the return type of a GCC
7543   builtin and then its argument prototype would still apply.  */
7544#ifdef __cplusplus
7545extern "C"
7546#endif
7547char dlopen ();
7548int
7549main ()
7550{
7551return dlopen ();
7552  ;
7553  return 0;
7554}
7555_ACEOF
7556if ac_fn_c_try_link "$LINENO"; then :
7557  ac_cv_lib_dl_dlopen=yes
7558else
7559  ac_cv_lib_dl_dlopen=no
7560fi
7561rm -f core conftest.err conftest.$ac_objext \
7562    conftest$ac_exeext conftest.$ac_ext
7563LIBS=$ac_check_lib_save_LIBS
7564fi
7565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7566$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7567if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7568  DL_LIB="-ldl"
7569else
7570  DL_LIB=""
7571
7572fi
7573
7574ac_ext=cpp
7575ac_cpp='$CXXCPP $CPPFLAGS'
7576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7579
7580LDFLAGS_save=$LDFLAGS
7581CXXFLAGS_save=$CXXFLAGS
7582boost_thread_found='no'
7583if test "$BOOST_DIR" != '' ; then
7584        CXXFLAGS="-I$BOOST_DIR/include $CXXFLAGS"
7585fi
7586if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then
7587        bthread_lib='-lboost_thread-mt'
7588        LDFLAGS="$LDFLAGS_save $bthread_lib"
7589
7590cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591/* end confdefs.h.  */
7592# include <boost/thread.hpp>
7593int
7594main ()
7595{
7596boost::barrier wait(1);
7597
7598  ;
7599  return 0;
7600}
7601_ACEOF
7602if ac_fn_cxx_try_link "$LINENO"; then :
7603  boost_thread_found='yes'
7604else
7605  boost_thread_found='no'
7606
7607fi
7608rm -f core conftest.err conftest.$ac_objext \
7609    conftest$ac_exeext conftest.$ac_ext
7610fi
7611if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
7612        bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.so"
7613        LDFLAGS="$LDFLAGS_save $bthread_lib"
7614        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615/* end confdefs.h.  */
7616# include <boost/thread.hpp>
7617int
7618main ()
7619{
7620boost::barrier wait(1);
7621
7622  ;
7623  return 0;
7624}
7625_ACEOF
7626if ac_fn_cxx_try_link "$LINENO"; then :
7627  boost_thread_found='yes'
7628else
7629  boost_thread_found='no'
7630
7631fi
7632rm -f core conftest.err conftest.$ac_objext \
7633    conftest$ac_exeext conftest.$ac_ext
7634fi
7635if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
7636        bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.a"
7637        LDFLAGS="$LDFLAGS_save $bthread_lib"
7638        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639/* end confdefs.h.  */
7640# include <boost/thread.hpp>
7641int
7642main ()
7643{
7644boost::barrier wait(1);
7645
7646  ;
7647  return 0;
7648}
7649_ACEOF
7650if ac_fn_cxx_try_link "$LINENO"; then :
7651  boost_thread_found='yes'
7652else
7653  boost_thread_found='no'
7654
7655fi
7656rm -f core conftest.err conftest.$ac_objext \
7657    conftest$ac_exeext conftest.$ac_ext
7658fi
7659if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then
7660        bthread_lib='-lboost_thread'
7661        LDFLAGS="$LDFLAGS_save $bthread_lib"
7662        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663/* end confdefs.h.  */
7664# include <boost/thread.hpp>
7665int
7666main ()
7667{
7668boost::barrier wait(1);
7669
7670  ;
7671  return 0;
7672}
7673_ACEOF
7674if ac_fn_cxx_try_link "$LINENO"; then :
7675  boost_thread_found='yes'
7676else
7677  boost_thread_found='no'
7678
7679fi
7680rm -f core conftest.err conftest.$ac_objext \
7681    conftest$ac_exeext conftest.$ac_ext
7682fi
7683if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
7684        bthread_lib="$BOOST_DIR/lib/libboost_thread.so"
7685        LDFLAGS="$LDFLAGS_save $bthread_lib"
7686        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687/* end confdefs.h.  */
7688# include <boost/thread.hpp>
7689int
7690main ()
7691{
7692boost::barrier wait(1);
7693
7694  ;
7695  return 0;
7696}
7697_ACEOF
7698if ac_fn_cxx_try_link "$LINENO"; then :
7699  boost_thread_found='yes'
7700else
7701  boost_thread_found='no'
7702
7703fi
7704rm -f core conftest.err conftest.$ac_objext \
7705    conftest$ac_exeext conftest.$ac_ext
7706fi
7707if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
7708        bthread_lib="$BOOST_DIR/lib/libboost_thread.a"
7709        LDFLAGS="$LDFLAGS_save $bthread_lib"
7710        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711/* end confdefs.h.  */
7712# include <boost/thread.hpp>
7713int
7714main ()
7715{
7716boost::barrier wait(1);
7717
7718  ;
7719  return 0;
7720}
7721_ACEOF
7722if ac_fn_cxx_try_link "$LINENO"; then :
7723  boost_thread_found='yes'
7724else
7725  boost_thread_found='no'
7726
7727fi
7728rm -f core conftest.err conftest.$ac_objext \
7729    conftest$ac_exeext conftest.$ac_ext
7730fi
7731 if test "$boost_thread_found" = 'yes'; then
7732  CppAD_BTHREAD_TRUE=
7733  CppAD_BTHREAD_FALSE='#'
7734else
7735  CppAD_BTHREAD_TRUE='#'
7736  CppAD_BTHREAD_FALSE=
7737fi
7738
7739if test "$boost_thread_found" == 'yes' ; then
7740        BTHREAD_LIB="$bthread_lib"
7741
7742        { $as_echo "$as_me:${as_lineno-$LINENO}: result: boost::thread library... yes" >&5
7743$as_echo "boost::thread library... yes" >&6; }
7744else
7745        BTHREAD_LIB=''
7746
7747        { $as_echo "$as_me:${as_lineno-$LINENO}: result: boost::thread library... no" >&5
7748$as_echo "boost::thread library... no" >&6; }
7749fi
7750LDFLAGS=$LDFLAGS_save
7751CXXFLAGS=$CXXFLAGS_save
7752ac_ext=c
7753ac_cpp='$CPP $CPPFLAGS'
7754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7756ac_compiler_gnu=$ac_cv_c_compiler_gnu
7757
7758#
7759if test -e $IPOPT_DIR/lib/coin ; then
7760        IPOPT_LIBS="-L $IPOPT_DIR/lib/coin -L $IPOPT_DIR/lib/coin/ThirdParty"
7761        IPOPT_LD_PATH="$IPOPT_DIR/lib/coin:$IPOPT_DIR/lib/coin/ThirdParty"
7762else
7763        IPOPT_LIBS="-L $IPOPT_DIR/lib"
7764        IPOPT_LD_PATH="$IPOPT_DIR/lib"
7765fi
7766CPPAD_IPOPT_LD_PATH="$IPOPT_LD_PATH"
7767
7768#
7769CPPAD_IPOPT_LIBS="$IPOPT_LIBS -lipopt"
7770
7771if test "$have_pkg_config" == "yes"; then
7772                PKG_CONFIG_PATH="$IPOPT_DIR/lib/pkgconfig:$IPOPT_DIR/share/pkgconfig"
7773        PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$IPOPT_DIR/lib64/pkgconfig"
7774        export PKG_CONFIG_PATH
7775        if pkg-config --libs ipopt >& /dev/null ; then
7776                CPPAD_IPOPT_LIBS=`pkg-config --libs ipopt`
7777        else
7778                                ac_ext=${ac_fc_srcext-f}
7779ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
7780ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
7781ac_compiler_gnu=$ac_cv_fc_compiler_gnu
7782
7783                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ddot in -lblas" >&5
7784$as_echo_n "checking for ddot in -lblas... " >&6; }
7785if ${ac_cv_lib_blas_ddot+:} false; then :
7786  $as_echo_n "(cached) " >&6
7787else
7788  ac_check_lib_save_LIBS=$LIBS
7789LIBS="-lblas  $LIBS"
7790cat > conftest.$ac_ext <<_ACEOF
7791      program main
7792      call ddot
7793      end
7794_ACEOF
7795if ac_fn_fc_try_link "$LINENO"; then :
7796  ac_cv_lib_blas_ddot=yes
7797else
7798  ac_cv_lib_blas_ddot=no
7799fi
7800rm -f core conftest.err conftest.$ac_objext \
7801    conftest$ac_exeext conftest.$ac_ext
7802LIBS=$ac_check_lib_save_LIBS
7803fi
7804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_ddot" >&5
7805$as_echo "$ac_cv_lib_blas_ddot" >&6; }
7806if test "x$ac_cv_lib_blas_ddot" = xyes; then :
7807  CPPAD_IPOPT_LIBS="$CPPAD_IPOPT_LIBS -lblas"
7808fi
7809
7810                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgesv in -llapack" >&5
7811$as_echo_n "checking for dgesv in -llapack... " >&6; }
7812if ${ac_cv_lib_lapack_dgesv+:} false; then :
7813  $as_echo_n "(cached) " >&6
7814else
7815  ac_check_lib_save_LIBS=$LIBS
7816LIBS="-llapack  $LIBS"
7817cat > conftest.$ac_ext <<_ACEOF
7818      program main
7819      call dgesv
7820      end
7821_ACEOF
7822if ac_fn_fc_try_link "$LINENO"; then :
7823  ac_cv_lib_lapack_dgesv=yes
7824else
7825  ac_cv_lib_lapack_dgesv=no
7826fi
7827rm -f core conftest.err conftest.$ac_objext \
7828    conftest$ac_exeext conftest.$ac_ext
7829LIBS=$ac_check_lib_save_LIBS
7830fi
7831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lapack_dgesv" >&5
7832$as_echo "$ac_cv_lib_lapack_dgesv" >&6; }
7833if test "x$ac_cv_lib_lapack_dgesv" = xyes; then :
7834  CPPAD_IPOPT_LIBS="$CPPAD_IPOPT_LIBS -llapack"
7835fi
7836
7837                ac_ext=c
7838ac_cpp='$CPP $CPPFLAGS'
7839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7841ac_compiler_gnu=$ac_cv_c_compiler_gnu
7842
7843        fi
7844else
7845                ac_ext=${ac_fc_srcext-f}
7846ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
7847ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
7848ac_compiler_gnu=$ac_cv_fc_compiler_gnu
7849
7850        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ddot in -lblas" >&5
7851$as_echo_n "checking for ddot in -lblas... " >&6; }
7852if ${ac_cv_lib_blas_ddot+:} false; then :
7853  $as_echo_n "(cached) " >&6
7854else
7855  ac_check_lib_save_LIBS=$LIBS
7856LIBS="-lblas  $LIBS"
7857cat > conftest.$ac_ext <<_ACEOF
7858      program main
7859      call ddot
7860      end
7861_ACEOF
7862if ac_fn_fc_try_link "$LINENO"; then :
7863  ac_cv_lib_blas_ddot=yes
7864else
7865  ac_cv_lib_blas_ddot=no
7866fi
7867rm -f core conftest.err conftest.$ac_objext \
7868    conftest$ac_exeext conftest.$ac_ext
7869LIBS=$ac_check_lib_save_LIBS
7870fi
7871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_ddot" >&5
7872$as_echo "$ac_cv_lib_blas_ddot" >&6; }
7873if test "x$ac_cv_lib_blas_ddot" = xyes; then :
7874  CPPAD_IPOPT_LIBS="$CPPAD_IPOPT_LIBS -lblas"
7875fi
7876
7877                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgesv in -llapack" >&5
7878$as_echo_n "checking for dgesv in -llapack... " >&6; }
7879if ${ac_cv_lib_lapack_dgesv+:} false; then :
7880  $as_echo_n "(cached) " >&6
7881else
7882  ac_check_lib_save_LIBS=$LIBS
7883LIBS="-llapack  $LIBS"
7884cat > conftest.$ac_ext <<_ACEOF
7885      program main
7886      call dgesv
7887      end
7888_ACEOF
7889if ac_fn_fc_try_link "$LINENO"; then :
7890  ac_cv_lib_lapack_dgesv=yes
7891else
7892  ac_cv_lib_lapack_dgesv=no
7893fi
7894rm -f core conftest.err conftest.$ac_objext \
7895    conftest$ac_exeext conftest.$ac_ext
7896LIBS=$ac_check_lib_save_LIBS
7897fi
7898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lapack_dgesv" >&5
7899$as_echo "$ac_cv_lib_lapack_dgesv" >&6; }
7900if test "x$ac_cv_lib_lapack_dgesv" = xyes; then :
7901  CPPAD_IPOPT_LIBS="$CPPAD_IPOPT_LIBS -llapack"
7902fi
7903
7904        ac_ext=c
7905ac_cpp='$CPP $CPPFLAGS'
7906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7908ac_compiler_gnu=$ac_cv_c_compiler_gnu
7909
7910fi
7911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cppad_ipopt_nlp libraries: $CPPAD_IPOPT_LIBS" >&5
7912$as_echo "cppad_ipopt_nlp libraries: $CPPAD_IPOPT_LIBS" >&6; }
7913cppad_description="Differentiation of C++ Algorithms"
7914
7915cppad_version=${PACKAGE_VERSION}
7916
7917cppad_url="http://www.coin-or.org/CppAD"
7918
7919if test "$prefix" == "NONE" ; then
7920        cppad_pkgconfig_cflags_value="-I$HOME/include"
7921        cppad_pkgconfig_libs_value="-L$HOME/lib"
7922else
7923        cppad_pkgconfig_cflags_value="-I$prefix/include"
7924        cppad_pkgconfig_libs_value="-L$prefix/lib"
7925fi
7926if test "$POSTFIX_DIR" != "" ; then
7927        cppad_pkgconfig_cflags_value="$cppad_pkgconfig_cflags_value/$POSTFIX_DIR"
7928        cppad_pkgconfig_libs_value="$cppad_pkgconfig_libs_value/$POSTFIX_DIR"
7929fi
7930if test "$IPOPT_DIR" == "" ; then
7931        cppad_pkgconfig_libs_value=""
7932        cppad_pkgconfig_requires_value=""
7933else
7934        cppad_pkgconfig_libs_value="$cppad_pkgconfig_libs_value -lcppad_ipopt"
7935        cppad_pkgconfig_requires_value="ipopt"
7936fi
7937cppad_pkgconfig_cflags="$cppad_pkgconfig_cflags_value"
7938
7939cppad_pkgconfig_libs="$cppad_pkgconfig_libs_value"
7940
7941cppad_pkgconfig_requires="$cppad_pkgconfig_requires_value"
7942
7943cppad_prefix="$prefix"
7944
7945cppad_abs_includedir="$includedir"
7946
7947cppad_SOURCE_DIR=${ABS_TOP_SRCDIR}
7948
7949adolc_prefix=${ADOLC_DIR}
7950
7951eigen_prefix=${EIGEN_DIR}
7952
7953ipopt_prefix=${IPOPT_DIR}
7954
7955ac_config_files="$ac_config_files cppad/configure.hpp cppad_ipopt/example/test.sh cppad_ipopt/speed/test.sh cppad_ipopt/test/test.sh example/ipopt_solve/test.sh pkgconfig/cppad.pc pkgconfig/cppad-uninstalled.pc makefile cppad_ipopt/src/makefile cppad_ipopt/example/makefile cppad_ipopt/speed/makefile cppad_ipopt/test/makefile example/general/makefile example/atomic/makefile example/deprecated/makefile example/ipopt_solve/makefile example/optimize/makefile example/sparse/makefile example/utility/makefile example/get_started/makefile introduction/makefile example/multi_thread/makefile example/multi_thread/test_multi/makefile example/print_for/makefile speed/adolc/makefile speed/cppad/makefile speed/double/makefile speed/example/makefile speed/fadbad/makefile speed/profile/makefile speed/profile/gprof.sed speed/sacado/makefile speed/src/makefile test_more/compare_c/makefile test_more/general/makefile"
7956
7957
7958ac_config_commands="$ac_config_commands example_ipopt_solve_test.sh"
7959
7960ac_config_commands="$ac_config_commands cppad_ipopt_example_test.sh"
7961
7962ac_config_commands="$ac_config_commands cppad_ipopt_speed_test.sh"
7963
7964ac_config_commands="$ac_config_commands cppad_ipopt_test_test.sh"
7965
7966
7967cat >confcache <<\_ACEOF
7968# This file is a shell script that caches the results of configure
7969# tests run on this system so they can be shared between configure
7970# scripts and configure runs, see configure's option --config-cache.
7971# It is not useful on other systems.  If it contains results you don't
7972# want to keep, you may remove or edit it.
7973#
7974# config.status only pays attention to the cache file if you give it
7975# the --recheck option to rerun configure.
7976#
7977# `ac_cv_env_foo' variables (set or unset) will be overridden when
7978# loading this file, other *unset* `ac_cv_foo' will be assigned the
7979# following values.
7980
7981_ACEOF
7982
7983# The following way of writing the cache mishandles newlines in values,
7984# but we know of no workaround that is simple, portable, and efficient.
7985# So, we kill variables containing newlines.
7986# Ultrix sh set writes to stderr and can't be redirected directly,
7987# and sets the high bit in the cache file unless we assign to the vars.
7988(
7989  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7990    eval ac_val=\$$ac_var
7991    case $ac_val in #(
7992    *${as_nl}*)
7993      case $ac_var in #(
7994      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7995$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7996      esac
7997      case $ac_var in #(
7998      _ | IFS | as_nl) ;; #(
7999      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8000      *) { eval $ac_var=; unset $ac_var;} ;;
8001      esac ;;
8002    esac
8003  done
8004
8005  (set) 2>&1 |
8006    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8007    *${as_nl}ac_space=\ *)
8008      # `set' does not quote correctly, so add quotes: double-quote
8009      # substitution turns \\\\ into \\, and sed turns \\ into \.
8010      sed -n \
8011        "s/'/'\\\\''/g;
8012          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8013      ;; #(
8014    *)
8015      # `set' quotes correctly as required by POSIX, so do not add quotes.
8016      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8017      ;;
8018    esac |
8019    sort
8020) |
8021  sed '
8022     /^ac_cv_env_/b end
8023     t clear
8024     :clear
8025     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8026     t end
8027     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8028     :end' >>confcache
8029if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8030  if test -w "$cache_file"; then
8031    if test "x$cache_file" != "x/dev/null"; then
8032      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8033$as_echo "$as_me: updating cache $cache_file" >&6;}
8034      if test ! -f "$cache_file" || test -h "$cache_file"; then
8035        cat confcache >"$cache_file"
8036      else
8037        case $cache_file in #(
8038        */* | ?:*)
8039          mv -f confcache "$cache_file"$$ &&
8040          mv -f "$cache_file"$$ "$cache_file" ;; #(
8041        *)
8042          mv -f confcache "$cache_file" ;;
8043        esac
8044      fi
8045    fi
8046  else
8047    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8048$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8049  fi
8050fi
8051rm -f confcache
8052
8053test "x$prefix" = xNONE && prefix=$ac_default_prefix
8054# Let make expand exec_prefix.
8055test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8056
8057# Transform confdefs.h into DEFS.
8058# Protect against shell expansion while executing Makefile rules.
8059# Protect against Makefile macro expansion.
8060#
8061# If the first sed substitution is executed (which looks for macros that
8062# take arguments), then branch to the quote section.  Otherwise,
8063# look for a macro that doesn't take arguments.
8064ac_script='
8065:mline
8066/\\$/{
8067 N
8068 s,\\\n,,
8069 b mline
8070}
8071t clear
8072:clear
8073s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
8074t quote
8075s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
8076t quote
8077b any
8078:quote
8079s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8080s/\[/\\&/g
8081s/\]/\\&/g
8082s/\$/$$/g
8083H
8084:any
8085${
8086        g
8087        s/^\n//
8088        s/\n/ /g
8089        p
8090}
8091'
8092DEFS=`sed -n "$ac_script" confdefs.h`
8093
8094
8095ac_libobjs=
8096ac_ltlibobjs=
8097U=
8098for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8099  # 1. Remove the extension, and $U if already installed.
8100  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8101  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8102  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8103  #    will be set to the directory where LIBOBJS objects are built.
8104  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8105  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8106done
8107LIBOBJS=$ac_libobjs
8108
8109LTLIBOBJS=$ac_ltlibobjs
8110
8111
8112if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8113  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8114Usually this means the macro was only invoked conditionally." "$LINENO" 5
8115fi
8116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8117$as_echo_n "checking that generated files are newer than configure... " >&6; }
8118   if test -n "$am_sleep_pid"; then
8119     # Hide warnings about reused PIDs.
8120     wait $am_sleep_pid 2>/dev/null
8121   fi
8122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8123$as_echo "done" >&6; }
8124 if test -n "$EXEEXT"; then
8125  am__EXEEXT_TRUE=
8126  am__EXEEXT_FALSE='#'
8127else
8128  am__EXEEXT_TRUE='#'
8129  am__EXEEXT_FALSE=
8130fi
8131
8132if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8133  as_fn_error $? "conditional \"AMDEP\" was never defined.
8134Usually this means the macro was only invoked conditionally." "$LINENO" 5
8135fi
8136if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8137  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8138Usually this means the macro was only invoked conditionally." "$LINENO" 5
8139fi
8140if test -z "${CppAD_DEPRECATED_TRUE}" && test -z "${CppAD_DEPRECATED_FALSE}"; then
8141  as_fn_error $? "conditional \"CppAD_DEPRECATED\" was never defined.
8142Usually this means the macro was only invoked conditionally." "$LINENO" 5
8143fi
8144if test -z "${CppAD_DOCUMENTATION_TRUE}" && test -z "${CppAD_DOCUMENTATION_FALSE}"; then
8145  as_fn_error $? "conditional \"CppAD_DOCUMENTATION\" was never defined.
8146Usually this means the macro was only invoked conditionally." "$LINENO" 5
8147fi
8148if test -z "${CppAD_POSTFIX_TRUE}" && test -z "${CppAD_POSTFIX_FALSE}"; then
8149  as_fn_error $? "conditional \"CppAD_POSTFIX\" was never defined.
8150Usually this means the macro was only invoked conditionally." "$LINENO" 5
8151fi
8152if test -z "${CppAD_ADOLC_TRUE}" && test -z "${CppAD_ADOLC_FALSE}"; then
8153  as_fn_error $? "conditional \"CppAD_ADOLC\" was never defined.
8154Usually this means the macro was only invoked conditionally." "$LINENO" 5
8155fi
8156if test -z "${CppAD_EIGEN_DIR_TRUE}" && test -z "${CppAD_EIGEN_DIR_FALSE}"; then
8157  as_fn_error $? "conditional \"CppAD_EIGEN_DIR\" was never defined.
8158Usually this means the macro was only invoked conditionally." "$LINENO" 5
8159fi
8160if test -z "${CppAD_FADBAD_TRUE}" && test -z "${CppAD_FADBAD_FALSE}"; then
8161  as_fn_error $? "conditional \"CppAD_FADBAD\" was never defined.
8162Usually this means the macro was only invoked conditionally." "$LINENO" 5
8163fi
8164if test -z "${CppAD_SACADO_TRUE}" && test -z "${CppAD_SACADO_FALSE}"; then
8165  as_fn_error $? "conditional \"CppAD_SACADO\" was never defined.
8166Usually this means the macro was only invoked conditionally." "$LINENO" 5
8167fi
8168if test -z "${CppAD_IPOPT_TRUE}" && test -z "${CppAD_IPOPT_FALSE}"; then
8169  as_fn_error $? "conditional \"CppAD_IPOPT\" was never defined.
8170Usually this means the macro was only invoked conditionally." "$LINENO" 5
8171fi
8172if test -z "${CppAD_BOOST_DIR_TRUE}" && test -z "${CppAD_BOOST_DIR_FALSE}"; then
8173  as_fn_error $? "conditional \"CppAD_BOOST_DIR\" was never defined.
8174Usually this means the macro was only invoked conditionally." "$LINENO" 5
8175fi
8176if test -z "${CppAD_OPENMP_TRUE}" && test -z "${CppAD_OPENMP_FALSE}"; then
8177  as_fn_error $? "conditional \"CppAD_OPENMP\" was never defined.
8178Usually this means the macro was only invoked conditionally." "$LINENO" 5
8179fi
8180if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8181  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
8182Usually this means the macro was only invoked conditionally." "$LINENO" 5
8183fi
8184if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8185  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8186Usually this means the macro was only invoked conditionally." "$LINENO" 5
8187fi
8188if test -z "${CppAD_PKG_CONFIG_TRUE}" && test -z "${CppAD_PKG_CONFIG_FALSE}"; then
8189  as_fn_error $? "conditional \"CppAD_PKG_CONFIG\" was never defined.
8190Usually this means the macro was only invoked conditionally." "$LINENO" 5
8191fi
8192if test -z "${CppAD_HAVE_AR_TRUE}" && test -z "${CppAD_HAVE_AR_FALSE}"; then
8193  as_fn_error $? "conditional \"CppAD_HAVE_AR\" was never defined.
8194Usually this means the macro was only invoked conditionally." "$LINENO" 5
8195fi
8196if test -z "${CppAD_MS_COMPILER_TRUE}" && test -z "${CppAD_MS_COMPILER_FALSE}"; then
8197  as_fn_error $? "conditional \"CppAD_MS_COMPILER\" was never defined.
8198Usually this means the macro was only invoked conditionally." "$LINENO" 5
8199fi
8200if test -z "${CppAD_PTHREAD_TRUE}" && test -z "${CppAD_PTHREAD_FALSE}"; then
8201  as_fn_error $? "conditional \"CppAD_PTHREAD\" was never defined.
8202Usually this means the macro was only invoked conditionally." "$LINENO" 5
8203fi
8204if test -z "${CppAD_BTHREAD_TRUE}" && test -z "${CppAD_BTHREAD_FALSE}"; then
8205  as_fn_error $? "conditional \"CppAD_BTHREAD\" was never defined.
8206Usually this means the macro was only invoked conditionally." "$LINENO" 5
8207fi
8208
8209: "${CONFIG_STATUS=./config.status}"
8210ac_write_fail=0
8211ac_clean_files_save=$ac_clean_files
8212ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8213{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8214$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8215as_write_fail=0
8216cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8217#! $SHELL
8218# Generated by $as_me.
8219# Run this file to recreate the current configuration.
8220# Compiler output produced by configure, useful for debugging
8221# configure, is in config.log if it exists.
8222
8223debug=false
8224ac_cs_recheck=false
8225ac_cs_silent=false
8226
8227SHELL=\${CONFIG_SHELL-$SHELL}
8228export SHELL
8229_ASEOF
8230cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8231## -------------------- ##
8232## M4sh Initialization. ##
8233## -------------------- ##
8234
8235# Be more Bourne compatible
8236DUALCASE=1; export DUALCASE # for MKS sh
8237if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8238  emulate sh
8239  NULLCMD=:
8240  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8241  # is contrary to our usage.  Disable this feature.
8242  alias -g '${1+"$@"}'='"$@"'
8243  setopt NO_GLOB_SUBST
8244else
8245  case `(set -o) 2>/dev/null` in #(
8246  *posix*) :
8247    set -o posix ;; #(
8248  *) :
8249     ;;
8250esac
8251fi
8252
8253
8254as_nl='
8255'
8256export as_nl
8257# Printing a long string crashes Solaris 7 /usr/bin/printf.
8258as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8259as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8260as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8261# Prefer a ksh shell builtin over an external printf program on Solaris,
8262# but without wasting forks for bash or zsh.
8263if test -z "$BASH_VERSION$ZSH_VERSION" \
8264    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8265  as_echo='print -r --'
8266  as_echo_n='print -rn --'
8267elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8268  as_echo='printf %s\n'
8269  as_echo_n='printf %s'
8270else
8271  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8272    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8273    as_echo_n='/usr/ucb/echo -n'
8274  else
8275    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8276    as_echo_n_body='eval
8277      arg=$1;
8278      case $arg in #(
8279      *"$as_nl"*)
8280        expr "X$arg" : "X\\(.*\\)$as_nl";
8281        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8282      esac;
8283      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8284    '
8285    export as_echo_n_body
8286    as_echo_n='sh -c $as_echo_n_body as_echo'
8287  fi
8288  export as_echo_body
8289  as_echo='sh -c $as_echo_body as_echo'
8290fi
8291
8292# The user is always right.
8293if test "${PATH_SEPARATOR+set}" != set; then
8294  PATH_SEPARATOR=:
8295  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8296    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8297      PATH_SEPARATOR=';'
8298  }
8299fi
8300
8301
8302# IFS
8303# We need space, tab and new line, in precisely that order.  Quoting is
8304# there to prevent editors from complaining about space-tab.
8305# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8306# splitting by setting IFS to empty value.)
8307IFS=" ""        $as_nl"
8308
8309# Find who we are.  Look in the path if we contain no directory separator.
8310as_myself=
8311case $0 in #((
8312  *[\\/]* ) as_myself=$0 ;;
8313  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314for as_dir in $PATH
8315do
8316  IFS=$as_save_IFS
8317  test -z "$as_dir" && as_dir=.
8318    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8319  done
8320IFS=$as_save_IFS
8321
8322     ;;
8323esac
8324# We did not find ourselves, most probably we were run as `sh COMMAND'
8325# in which case we are not to be found in the path.
8326if test "x$as_myself" = x; then
8327  as_myself=$0
8328fi
8329if test ! -f "$as_myself"; then
8330  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8331  exit 1
8332fi
8333
8334# Unset variables that we do not need and which cause bugs (e.g. in
8335# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
8336# suppresses any "Segmentation fault" message there.  '((' could
8337# trigger a bug in pdksh 5.2.14.
8338for as_var in BASH_ENV ENV MAIL MAILPATH
8339do eval test x\${$as_var+set} = xset \
8340  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8341done
8342PS1='$ '
8343PS2='> '
8344PS4='+ '
8345
8346# NLS nuisances.
8347LC_ALL=C
8348export LC_ALL
8349LANGUAGE=C
8350export LANGUAGE
8351
8352# CDPATH.
8353(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8354
8355
8356# as_fn_error STATUS ERROR [LINENO LOG_FD]
8357# ----------------------------------------
8358# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8359# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8360# script with STATUS, using 1 if that was 0.
8361as_fn_error ()
8362{
8363  as_status=$1; test $as_status -eq 0 && as_status=1
8364  if test "$4"; then
8365    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8366    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8367  fi
8368  $as_echo "$as_me: error: $2" >&2
8369  as_fn_exit $as_status
8370} # as_fn_error
8371
8372
8373# as_fn_set_status STATUS
8374# -----------------------
8375# Set $? to STATUS, without forking.
8376as_fn_set_status ()
8377{
8378  return $1
8379} # as_fn_set_status
8380
8381# as_fn_exit STATUS
8382# -----------------
8383# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8384as_fn_exit ()
8385{
8386  set +e
8387  as_fn_set_status $1
8388  exit $1
8389} # as_fn_exit
8390
8391# as_fn_unset VAR
8392# ---------------
8393# Portably unset VAR.
8394as_fn_unset ()
8395{
8396  { eval $1=; unset $1;}
8397}
8398as_unset=as_fn_unset
8399# as_fn_append VAR VALUE
8400# ----------------------
8401# Append the text in VALUE to the end of the definition contained in VAR. Take
8402# advantage of any shell optimizations that allow amortized linear growth over
8403# repeated appends, instead of the typical quadratic growth present in naive
8404# implementations.
8405if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8406  eval 'as_fn_append ()
8407  {
8408    eval $1+=\$2
8409  }'
8410else
8411  as_fn_append ()
8412  {
8413    eval $1=\$$1\$2
8414  }
8415fi # as_fn_append
8416
8417# as_fn_arith ARG...
8418# ------------------
8419# Perform arithmetic evaluation on the ARGs, and store the result in the
8420# global $as_val. Take advantage of shells that can avoid forks. The arguments
8421# must be portable across $(()) and expr.
8422if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8423  eval 'as_fn_arith ()
8424  {
8425    as_val=$(( $* ))
8426  }'
8427else
8428  as_fn_arith ()
8429  {
8430    as_val=`expr "$@" || test $? -eq 1`
8431  }
8432fi # as_fn_arith
8433
8434
8435if expr a : '\(a\)' >/dev/null 2>&1 &&
8436   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8437  as_expr=expr
8438else
8439  as_expr=false
8440fi
8441
8442if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8443  as_basename=basename
8444else
8445  as_basename=false
8446fi
8447
8448if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8449  as_dirname=dirname
8450else
8451  as_dirname=false
8452fi
8453
8454as_me=`$as_basename -- "$0" ||
8455$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8456         X"$0" : 'X\(//\)$' \| \
8457         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8458$as_echo X/"$0" |
8459    sed '/^.*\/\([^/][^/]*\)\/*$/{
8460            s//\1/
8461            q
8462          }
8463          /^X\/\(\/\/\)$/{
8464            s//\1/
8465            q
8466          }
8467          /^X\/\(\/\).*/{
8468            s//\1/
8469            q
8470          }
8471          s/.*/./; q'`
8472
8473# Avoid depending upon Character Ranges.
8474as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8475as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8476as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8477as_cr_digits='0123456789'
8478as_cr_alnum=$as_cr_Letters$as_cr_digits
8479
8480ECHO_C= ECHO_N= ECHO_T=
8481case `echo -n x` in #(((((
8482-n*)
8483  case `echo 'xy\c'` in
8484  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8485  xy)  ECHO_C='\c';;
8486  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
8487       ECHO_T=' ';;
8488  esac;;
8489*)
8490  ECHO_N='-n';;
8491esac
8492
8493rm -f conf$$ conf$$.exe conf$$.file
8494if test -d conf$$.dir; then
8495  rm -f conf$$.dir/conf$$.file
8496else
8497  rm -f conf$$.dir
8498  mkdir conf$$.dir 2>/dev/null
8499fi
8500if (echo >conf$$.file) 2>/dev/null; then
8501  if ln -s conf$$.file conf$$ 2>/dev/null; then
8502    as_ln_s='ln -s'
8503    # ... but there are two gotchas:
8504    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8505    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8506    # In both cases, we have to default to `cp -pR'.
8507    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8508      as_ln_s='cp -pR'
8509  elif ln conf$$.file conf$$ 2>/dev/null; then
8510    as_ln_s=ln
8511  else
8512    as_ln_s='cp -pR'
8513  fi
8514else
8515  as_ln_s='cp -pR'
8516fi
8517rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8518rmdir conf$$.dir 2>/dev/null
8519
8520
8521# as_fn_mkdir_p
8522# -------------
8523# Create "$as_dir" as a directory, including parents if necessary.
8524as_fn_mkdir_p ()
8525{
8526
8527  case $as_dir in #(
8528  -*) as_dir=./$as_dir;;
8529  esac
8530  test -d "$as_dir" || eval $as_mkdir_p || {
8531    as_dirs=
8532    while :; do
8533      case $as_dir in #(
8534      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8535      *) as_qdir=$as_dir;;
8536      esac
8537      as_dirs="'$as_qdir' $as_dirs"
8538      as_dir=`$as_dirname -- "$as_dir" ||
8539$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8540         X"$as_dir" : 'X\(//\)[^/]' \| \
8541         X"$as_dir" : 'X\(//\)$' \| \
8542         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8543$as_echo X"$as_dir" |
8544    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8545            s//\1/
8546            q
8547          }
8548          /^X\(\/\/\)[^/].*/{
8549            s//\1/
8550            q
8551          }
8552          /^X\(\/\/\)$/{
8553            s//\1/
8554            q
8555          }
8556          /^X\(\/\).*/{
8557            s//\1/
8558            q
8559          }
8560          s/.*/./; q'`
8561      test -d "$as_dir" && break
8562    done
8563    test -z "$as_dirs" || eval "mkdir $as_dirs"
8564  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8565
8566
8567} # as_fn_mkdir_p
8568if mkdir -p . 2>/dev/null; then
8569  as_mkdir_p='mkdir -p "$as_dir"'
8570else
8571  test -d ./-p && rmdir ./-p
8572  as_mkdir_p=false
8573fi
8574
8575
8576# as_fn_executable_p FILE
8577# -----------------------
8578# Test if FILE is an executable regular file.
8579as_fn_executable_p ()
8580{
8581  test -f "$1" && test -x "$1"
8582} # as_fn_executable_p
8583as_test_x='test -x'
8584as_executable_p=as_fn_executable_p
8585
8586# Sed expression to map a string onto a valid CPP name.
8587as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8588
8589# Sed expression to map a string onto a valid variable name.
8590as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8591
8592
8593exec 6>&1
8594## ----------------------------------- ##
8595## Main body of $CONFIG_STATUS script. ##
8596## ----------------------------------- ##
8597_ASEOF
8598test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8599
8600cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8601# Save the log message, to keep $0 and so on meaningful, and to
8602# report actual input values of CONFIG_FILES etc. instead of their
8603# values after options handling.
8604ac_log="
8605This file was extended by cppad $as_me 20170522, which was
8606generated by GNU Autoconf 2.69.  Invocation command line was
8607
8608  CONFIG_FILES    = $CONFIG_FILES
8609  CONFIG_HEADERS  = $CONFIG_HEADERS
8610  CONFIG_LINKS    = $CONFIG_LINKS
8611  CONFIG_COMMANDS = $CONFIG_COMMANDS
8612  $ $0 $@
8613
8614on `(hostname || uname -n) 2>/dev/null | sed 1q`
8615"
8616
8617_ACEOF
8618
8619case $ac_config_files in *"
8620"*) set x $ac_config_files; shift; ac_config_files=$*;;
8621esac
8622
8623
8624
8625cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8626# Files that config.status was made for.
8627config_files="$ac_config_files"
8628config_commands="$ac_config_commands"
8629
8630_ACEOF
8631
8632cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8633ac_cs_usage="\
8634\`$as_me' instantiates files and other configuration actions
8635from templates according to the current configuration.  Unless the files
8636and actions are specified as TAGs, all are instantiated by default.
8637
8638Usage: $0 [OPTION]... [TAG]...
8639
8640  -h, --help       print this help, then exit
8641  -V, --version    print version number and configuration settings, then exit
8642      --config     print configuration, then exit
8643  -q, --quiet, --silent
8644                   do not print progress messages
8645  -d, --debug      don't remove temporary files
8646      --recheck    update $as_me by reconfiguring in the same conditions
8647      --file=FILE[:TEMPLATE]
8648                   instantiate the configuration file FILE
8649
8650Configuration files:
8651$config_files
8652
8653Configuration commands:
8654$config_commands
8655
8656Report bugs to <cppad@list.coin-or.org>."
8657
8658_ACEOF
8659cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8660ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8661ac_cs_version="\\
8662cppad config.status 20170522
8663configured by $0, generated by GNU Autoconf 2.69,
8664  with options \\"\$ac_cs_config\\"
8665
8666Copyright (C) 2012 Free Software Foundation, Inc.
8667This config.status script is free software; the Free Software Foundation
8668gives unlimited permission to copy, distribute and modify it."
8669
8670ac_pwd='$ac_pwd'
8671srcdir='$srcdir'
8672INSTALL='$INSTALL'
8673MKDIR_P='$MKDIR_P'
8674AWK='$AWK'
8675test -n "\$AWK" || AWK=awk
8676_ACEOF
8677
8678cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8679# The default lists apply if the user does not specify any file.
8680ac_need_defaults=:
8681while test $# != 0
8682do
8683  case $1 in
8684  --*=?*)
8685    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8686    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8687    ac_shift=:
8688    ;;
8689  --*=)
8690    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8691    ac_optarg=
8692    ac_shift=:
8693    ;;
8694  *)
8695    ac_option=$1
8696    ac_optarg=$2
8697    ac_shift=shift
8698    ;;
8699  esac
8700
8701  case $ac_option in
8702  # Handling of the options.
8703  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8704    ac_cs_recheck=: ;;
8705  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8706    $as_echo "$ac_cs_version"; exit ;;
8707  --config | --confi | --conf | --con | --co | --c )
8708    $as_echo "$ac_cs_config"; exit ;;
8709  --debug | --debu | --deb | --de | --d | -d )
8710    debug=: ;;
8711  --file | --fil | --fi | --f )
8712    $ac_shift
8713    case $ac_optarg in
8714    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8715    '') as_fn_error $? "missing file argument" ;;
8716    esac
8717    as_fn_append CONFIG_FILES " '$ac_optarg'"
8718    ac_need_defaults=false;;
8719  --he | --h |  --help | --hel | -h )
8720    $as_echo "$ac_cs_usage"; exit ;;
8721  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8722  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8723    ac_cs_silent=: ;;
8724
8725  # This is an error.
8726  -*) as_fn_error $? "unrecognized option: \`$1'
8727Try \`$0 --help' for more information." ;;
8728
8729  *) as_fn_append ac_config_targets " $1"
8730     ac_need_defaults=false ;;
8731
8732  esac
8733  shift
8734done
8735
8736ac_configure_extra_args=
8737
8738if $ac_cs_silent; then
8739  exec 6>/dev/null
8740  ac_configure_extra_args="$ac_configure_extra_args --silent"
8741fi
8742
8743_ACEOF
8744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8745if \$ac_cs_recheck; then
8746  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8747  shift
8748  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8749  CONFIG_SHELL='$SHELL'
8750  export CONFIG_SHELL
8751  exec "\$@"
8752fi
8753
8754_ACEOF
8755cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8756exec 5>>config.log
8757{
8758  echo
8759  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8760## Running $as_me. ##
8761_ASBOX
8762  $as_echo "$ac_log"
8763} >&5
8764
8765_ACEOF
8766cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8767#
8768# INIT-COMMANDS
8769#
8770AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8771
8772
8773
8774
8775
8776_ACEOF
8777
8778cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8779
8780# Handling of arguments.
8781for ac_config_target in $ac_config_targets
8782do
8783  case $ac_config_target in
8784    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8785    "cppad/configure.hpp") CONFIG_FILES="$CONFIG_FILES cppad/configure.hpp" ;;
8786    "cppad_ipopt/example/test.sh") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/example/test.sh" ;;
8787    "cppad_ipopt/speed/test.sh") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/speed/test.sh" ;;
8788    "cppad_ipopt/test/test.sh") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/test/test.sh" ;;
8789    "example/ipopt_solve/test.sh") CONFIG_FILES="$CONFIG_FILES example/ipopt_solve/test.sh" ;;
8790    "pkgconfig/cppad.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/cppad.pc" ;;
8791    "pkgconfig/cppad-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/cppad-uninstalled.pc" ;;
8792    "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
8793    "cppad_ipopt/src/makefile") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/src/makefile" ;;
8794    "cppad_ipopt/example/makefile") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/example/makefile" ;;
8795    "cppad_ipopt/speed/makefile") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/speed/makefile" ;;
8796    "cppad_ipopt/test/makefile") CONFIG_FILES="$CONFIG_FILES cppad_ipopt/test/makefile" ;;
8797    "example/general/makefile") CONFIG_FILES="$CONFIG_FILES example/general/makefile" ;;
8798    "example/atomic/makefile") CONFIG_FILES="$CONFIG_FILES example/atomic/makefile" ;;
8799    "example/deprecated/makefile") CONFIG_FILES="$CONFIG_FILES example/deprecated/makefile" ;;
8800    "example/ipopt_solve/makefile") CONFIG_FILES="$CONFIG_FILES example/ipopt_solve/makefile" ;;
8801    "example/optimize/makefile") CONFIG_FILES="$CONFIG_FILES example/optimize/makefile" ;;
8802    "example/sparse/makefile") CONFIG_FILES="$CONFIG_FILES example/sparse/makefile" ;;
8803    "example/utility/makefile") CONFIG_FILES="$CONFIG_FILES example/utility/makefile" ;;
8804    "example/get_started/makefile") CONFIG_FILES="$CONFIG_FILES example/get_started/makefile" ;;
8805    "introduction/makefile") CONFIG_FILES="$CONFIG_FILES introduction/makefile" ;;
8806    "example/multi_thread/makefile") CONFIG_FILES="$CONFIG_FILES example/multi_thread/makefile" ;;
8807    "example/multi_thread/test_multi/makefile") CONFIG_FILES="$CONFIG_FILES example/multi_thread/test_multi/makefile" ;;
8808    "example/print_for/makefile") CONFIG_FILES="$CONFIG_FILES example/print_for/makefile" ;;
8809    "speed/adolc/makefile") CONFIG_FILES="$CONFIG_FILES speed/adolc/makefile" ;;
8810    "speed/cppad/makefile") CONFIG_FILES="$CONFIG_FILES speed/cppad/makefile" ;;
8811    "speed/double/makefile") CONFIG_FILES="$CONFIG_FILES speed/double/makefile" ;;
8812    "speed/example/makefile") CONFIG_FILES="$CONFIG_FILES speed/example/makefile" ;;
8813    "speed/fadbad/makefile") CONFIG_FILES="$CONFIG_FILES speed/fadbad/makefile" ;;
8814    "speed/profile/makefile") CONFIG_FILES="$CONFIG_FILES speed/profile/makefile" ;;
8815    "speed/profile/gprof.sed") CONFIG_FILES="$CONFIG_FILES speed/profile/gprof.sed" ;;
8816    "speed/sacado/makefile") CONFIG_FILES="$CONFIG_FILES speed/sacado/makefile" ;;
8817    "speed/src/makefile") CONFIG_FILES="$CONFIG_FILES speed/src/makefile" ;;
8818    "test_more/compare_c/makefile") CONFIG_FILES="$CONFIG_FILES test_more/compare_c/makefile" ;;
8819    "test_more/general/makefile") CONFIG_FILES="$CONFIG_FILES test_more/general/makefile" ;;
8820    "example_ipopt_solve_test.sh") CONFIG_COMMANDS="$CONFIG_COMMANDS example_ipopt_solve_test.sh" ;;
8821    "cppad_ipopt_example_test.sh") CONFIG_COMMANDS="$CONFIG_COMMANDS cppad_ipopt_example_test.sh" ;;
8822    "cppad_ipopt_speed_test.sh") CONFIG_COMMANDS="$CONFIG_COMMANDS cppad_ipopt_speed_test.sh" ;;
8823    "cppad_ipopt_test_test.sh") CONFIG_COMMANDS="$CONFIG_COMMANDS cppad_ipopt_test_test.sh" ;;
8824
8825  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8826  esac
8827done
8828
8829
8830# If the user did not use the arguments to specify the items to instantiate,
8831# then the envvar interface is used.  Set only those that are not.
8832# We use the long form for the default assignment because of an extremely
8833# bizarre bug on SunOS 4.1.3.
8834if $ac_need_defaults; then
8835  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8836  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8837fi
8838
8839# Have a temporary directory for convenience.  Make it in the build tree
8840# simply because there is no reason against having it here, and in addition,
8841# creating and moving files from /tmp can sometimes cause problems.
8842# Hook for its removal unless debugging.
8843# Note that there is a small window in which the directory will not be cleaned:
8844# after its creation but before its name has been assigned to `$tmp'.
8845$debug ||
8846{
8847  tmp= ac_tmp=
8848  trap 'exit_status=$?
8849  : "${ac_tmp:=$tmp}"
8850  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8851' 0
8852  trap 'as_fn_exit 1' 1 2 13 15
8853}
8854# Create a (secure) tmp directory for tmp files.
8855
8856{
8857  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8858  test -d "$tmp"
8859}  ||
8860{
8861  tmp=./conf$$-$RANDOM
8862  (umask 077 && mkdir "$tmp")
8863} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8864ac_tmp=$tmp
8865
8866# Set up the scripts for CONFIG_FILES section.
8867# No need to generate them if there are no CONFIG_FILES.
8868# This happens for instance with `./config.status config.h'.
8869if test -n "$CONFIG_FILES"; then
8870
8871
8872ac_cr=`echo X | tr X '\015'`
8873# On cygwin, bash can eat \r inside `` if the user requested igncr.
8874# But we know of no other shell where ac_cr would be empty at this
8875# point, so we can use a bashism as a fallback.
8876if test "x$ac_cr" = x; then
8877  eval ac_cr=\$\'\\r\'
8878fi
8879ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8880if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8881  ac_cs_awk_cr='\\r'
8882else
8883  ac_cs_awk_cr=$ac_cr
8884fi
8885
8886echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8887_ACEOF
8888
8889
8890{
8891  echo "cat >conf$$subs.awk <<_ACEOF" &&
8892  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8893  echo "_ACEOF"
8894} >conf$$subs.sh ||
8895  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8896ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8897ac_delim='%!_!# '
8898for ac_last_try in false false false false false :; do
8899  . ./conf$$subs.sh ||
8900    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8901
8902  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8903  if test $ac_delim_n = $ac_delim_num; then
8904    break
8905  elif $ac_last_try; then
8906    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8907  else
8908    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8909  fi
8910done
8911rm -f conf$$subs.sh
8912
8913cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8914cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8915_ACEOF
8916sed -n '
8917h
8918s/^/S["/; s/!.*/"]=/
8919p
8920g
8921s/^[^!]*!//
8922:repl
8923t repl
8924s/'"$ac_delim"'$//
8925t delim
8926:nl
8927h
8928s/\(.\{148\}\)..*/\1/
8929t more1
8930s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8931p
8932n
8933b repl
8934:more1
8935s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8936p
8937g
8938s/.\{148\}//
8939t nl
8940:delim
8941h
8942s/\(.\{148\}\)..*/\1/
8943t more2
8944s/["\\]/\\&/g; s/^/"/; s/$/"/
8945p
8946b
8947:more2
8948s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8949p
8950g
8951s/.\{148\}//
8952t delim
8953' <conf$$subs.awk | sed '
8954/^[^""]/{
8955  N
8956  s/\n//
8957}
8958' >>$CONFIG_STATUS || ac_write_fail=1
8959rm -f conf$$subs.awk
8960cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8961_ACAWK
8962cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8963  for (key in S) S_is_set[key] = 1
8964  FS = ""
8965
8966}
8967{
8968  line = $ 0
8969  nfields = split(line, field, "@")
8970  substed = 0
8971  len = length(field[1])
8972  for (i = 2; i < nfields; i++) {
8973    key = field[i]
8974    keylen = length(key)
8975    if (S_is_set[key]) {
8976      value = S[key]
8977      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8978      len += length(value) + length(field[++i])
8979      substed = 1
8980    } else
8981      len += 1 + keylen
8982  }
8983
8984  print line
8985}
8986
8987_ACAWK
8988_ACEOF
8989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8990if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8991  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8992else
8993  cat
8994fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8995  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8996_ACEOF
8997
8998# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8999# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9000# trailing colons and then remove the whole line if VPATH becomes empty
9001# (actually we leave an empty line to preserve line numbers).
9002if test "x$srcdir" = x.; then
9003  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
9004h
9005s///
9006s/^/:/
9007s/[      ]*$/:/
9008s/:\$(srcdir):/:/g
9009s/:\${srcdir}:/:/g
9010s/:@srcdir@:/:/g
9011s/^:*//
9012s/:*$//
9013x
9014s/\(=[   ]*\).*/\1/
9015G
9016s/\n//
9017s/^[^=]*=[       ]*$//
9018}'
9019fi
9020
9021cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9022fi # test -n "$CONFIG_FILES"
9023
9024
9025eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
9026shift
9027for ac_tag
9028do
9029  case $ac_tag in
9030  :[FHLC]) ac_mode=$ac_tag; continue;;
9031  esac
9032  case $ac_mode$ac_tag in
9033  :[FHL]*:*);;
9034  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9035  :[FH]-) ac_tag=-:-;;
9036  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9037  esac
9038  ac_save_IFS=$IFS
9039  IFS=:
9040  set x $ac_tag
9041  IFS=$ac_save_IFS
9042  shift
9043  ac_file=$1
9044  shift
9045
9046  case $ac_mode in
9047  :L) ac_source=$1;;
9048  :[FH])
9049    ac_file_inputs=
9050    for ac_f
9051    do
9052      case $ac_f in
9053      -) ac_f="$ac_tmp/stdin";;
9054      *) # Look for the file first in the build tree, then in the source tree
9055         # (if the path is not absolute).  The absolute path cannot be DOS-style,
9056         # because $ac_f cannot contain `:'.
9057         test -f "$ac_f" ||
9058           case $ac_f in
9059           [\\/$]*) false;;
9060           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9061           esac ||
9062           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9063      esac
9064      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9065      as_fn_append ac_file_inputs " '$ac_f'"
9066    done
9067
9068    # Let's still pretend it is `configure' which instantiates (i.e., don't
9069    # use $as_me), people would be surprised to read:
9070    #    /* config.h.  Generated by config.status.  */
9071    configure_input='Generated from '`
9072          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9073        `' by configure.'
9074    if test x"$ac_file" != x-; then
9075      configure_input="$ac_file.  $configure_input"
9076      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9077$as_echo "$as_me: creating $ac_file" >&6;}
9078    fi
9079    # Neutralize special characters interpreted by sed in replacement strings.
9080    case $configure_input in #(
9081    *\&* | *\|* | *\\* )
9082       ac_sed_conf_input=`$as_echo "$configure_input" |
9083       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9084    *) ac_sed_conf_input=$configure_input;;
9085    esac
9086
9087    case $ac_tag in
9088    *:-:* | *:-) cat >"$ac_tmp/stdin" \
9089      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9090    esac
9091    ;;
9092  esac
9093
9094  ac_dir=`$as_dirname -- "$ac_file" ||
9095$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9096         X"$ac_file" : 'X\(//\)[^/]' \| \
9097         X"$ac_file" : 'X\(//\)$' \| \
9098         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9099$as_echo X"$ac_file" |
9100    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9101            s//\1/
9102            q
9103          }
9104          /^X\(\/\/\)[^/].*/{
9105            s//\1/
9106            q
9107          }
9108          /^X\(\/\/\)$/{
9109            s//\1/
9110            q
9111          }
9112          /^X\(\/\).*/{
9113            s//\1/
9114            q
9115          }
9116          s/.*/./; q'`
9117  as_dir="$ac_dir"; as_fn_mkdir_p
9118  ac_builddir=.
9119
9120case "$ac_dir" in
9121.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9122*)
9123  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9124  # A ".." for each directory in $ac_dir_suffix.
9125  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9126  case $ac_top_builddir_sub in
9127  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9128  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9129  esac ;;
9130esac
9131ac_abs_top_builddir=$ac_pwd
9132ac_abs_builddir=$ac_pwd$ac_dir_suffix
9133# for backward compatibility:
9134ac_top_builddir=$ac_top_build_prefix
9135
9136case $srcdir in
9137  .)  # We are building in place.
9138    ac_srcdir=.
9139    ac_top_srcdir=$ac_top_builddir_sub
9140    ac_abs_top_srcdir=$ac_pwd ;;
9141  [\\/]* | ?:[\\/]* )  # Absolute name.
9142    ac_srcdir=$srcdir$ac_dir_suffix;
9143    ac_top_srcdir=$srcdir
9144    ac_abs_top_srcdir=$srcdir ;;
9145  *) # Relative name.
9146    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9147    ac_top_srcdir=$ac_top_build_prefix$srcdir
9148    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9149esac
9150ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9151
9152
9153  case $ac_mode in
9154  :F)
9155  #
9156  # CONFIG_FILE
9157  #
9158
9159  case $INSTALL in
9160  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9161  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9162  esac
9163  ac_MKDIR_P=$MKDIR_P
9164  case $MKDIR_P in
9165  [\\/$]* | ?:[\\/]* ) ;;
9166  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9167  esac
9168_ACEOF
9169
9170cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9171# If the template does not know about datarootdir, expand it.
9172# FIXME: This hack should be removed a few years after 2.60.
9173ac_datarootdir_hack=; ac_datarootdir_seen=
9174ac_sed_dataroot='
9175/datarootdir/ {
9176  p
9177  q
9178}
9179/@datadir@/p
9180/@docdir@/p
9181/@infodir@/p
9182/@localedir@/p
9183/@mandir@/p'
9184case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9185*datarootdir*) ac_datarootdir_seen=yes;;
9186*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9187  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9188$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9189_ACEOF
9190cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9191  ac_datarootdir_hack='
9192  s&@datadir@&$datadir&g
9193  s&@docdir@&$docdir&g
9194  s&@infodir@&$infodir&g
9195  s&@localedir@&$localedir&g
9196  s&@mandir@&$mandir&g
9197  s&\\\${datarootdir}&$datarootdir&g' ;;
9198esac
9199_ACEOF
9200
9201# Neutralize VPATH when `$srcdir' = `.'.
9202# Shell code in configure.ac might set extrasub.
9203# FIXME: do we really want to maintain this feature?
9204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9205ac_sed_extra="$ac_vpsub
9206$extrasub
9207_ACEOF
9208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9209:t
9210/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9211s|@configure_input@|$ac_sed_conf_input|;t t
9212s&@top_builddir@&$ac_top_builddir_sub&;t t
9213s&@top_build_prefix@&$ac_top_build_prefix&;t t
9214s&@srcdir@&$ac_srcdir&;t t
9215s&@abs_srcdir@&$ac_abs_srcdir&;t t
9216s&@top_srcdir@&$ac_top_srcdir&;t t
9217s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9218s&@builddir@&$ac_builddir&;t t
9219s&@abs_builddir@&$ac_abs_builddir&;t t
9220s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9221s&@INSTALL@&$ac_INSTALL&;t t
9222s&@MKDIR_P@&$ac_MKDIR_P&;t t
9223$ac_datarootdir_hack
9224"
9225eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9226  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9227
9228test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9229  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9230  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
9231      "$ac_tmp/out"`; test -z "$ac_out"; } &&
9232  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9233which seems to be undefined.  Please make sure it is defined" >&5
9234$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9235which seems to be undefined.  Please make sure it is defined" >&2;}
9236
9237  rm -f "$ac_tmp/stdin"
9238  case $ac_file in
9239  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9240  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9241  esac \
9242  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9243 ;;
9244
9245
9246  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247$as_echo "$as_me: executing $ac_file commands" >&6;}
9248 ;;
9249  esac
9250
9251
9252  case $ac_file$ac_mode in
9253    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9254  # Older Autoconf quotes --file arguments for eval, but not when files
9255  # are listed without --file.  Let's play safe and only enable the eval
9256  # if we detect the quoting.
9257  case $CONFIG_FILES in
9258  *\'*) eval set x "$CONFIG_FILES" ;;
9259  *)   set x $CONFIG_FILES ;;
9260  esac
9261  shift
9262  for mf
9263  do
9264    # Strip MF so we end up with the name of the file.
9265    mf=`echo "$mf" | sed -e 's/:.*$//'`
9266    # Check whether this is an Automake generated Makefile or not.
9267    # We used to match only the files named 'Makefile.in', but
9268    # some people rename them; so instead we look at the file content.
9269    # Grep'ing the first line is not enough: some people post-process
9270    # each Makefile.in and add a new line on top of each file to say so.
9271    # Grep'ing the whole file is not good either: AIX grep has a line
9272    # limit of 2048, but all sed's we know have understand at least 4000.
9273    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9274      dirpart=`$as_dirname -- "$mf" ||
9275$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9276         X"$mf" : 'X\(//\)[^/]' \| \
9277         X"$mf" : 'X\(//\)$' \| \
9278         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9279$as_echo X"$mf" |
9280    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9281            s//\1/
9282            q
9283          }
9284          /^X\(\/\/\)[^/].*/{
9285            s//\1/
9286            q
9287          }
9288          /^X\(\/\/\)$/{
9289            s//\1/
9290            q
9291          }
9292          /^X\(\/\).*/{
9293            s//\1/
9294            q
9295          }
9296          s/.*/./; q'`
9297    else
9298      continue
9299    fi
9300    # Extract the definition of DEPDIR, am__include, and am__quote
9301    # from the Makefile without running 'make'.
9302    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9303    test -z "$DEPDIR" && continue
9304    am__include=`sed -n 's/^am__include = //p' < "$mf"`
9305    test -z "$am__include" && continue
9306    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9307    # Find all dependency output files, they are included files with
9308    # $(DEPDIR) in their names.  We invoke sed twice because it is the
9309    # simplest approach to changing $(DEPDIR) to its actual value in the
9310    # expansion.
9311    for file in `sed -n "
9312      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9313         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9314      # Make sure the directory exists.
9315      test -f "$dirpart/$file" && continue
9316      fdir=`$as_dirname -- "$file" ||
9317$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9318         X"$file" : 'X\(//\)[^/]' \| \
9319         X"$file" : 'X\(//\)$' \| \
9320         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9321$as_echo X"$file" |
9322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9323            s//\1/
9324            q
9325          }
9326          /^X\(\/\/\)[^/].*/{
9327            s//\1/
9328            q
9329          }
9330          /^X\(\/\/\)$/{
9331            s//\1/
9332            q
9333          }
9334          /^X\(\/\).*/{
9335            s//\1/
9336            q
9337          }
9338          s/.*/./; q'`
9339      as_dir=$dirpart/$fdir; as_fn_mkdir_p
9340      # echo "creating $dirpart/$file"
9341      echo '# dummy' > "$dirpart/$file"
9342    done
9343  done
9344}
9345 ;;
9346    "example_ipopt_solve_test.sh":C) chmod +x example/ipopt_solve/test.sh ;;
9347    "cppad_ipopt_example_test.sh":C) chmod +x cppad_ipopt/example/test.sh ;;
9348    "cppad_ipopt_speed_test.sh":C) chmod +x cppad_ipopt/speed/test.sh ;;
9349    "cppad_ipopt_test_test.sh":C) chmod +x cppad_ipopt/test/test.sh ;;
9350
9351  esac
9352done # for ac_tag
9353
9354
9355as_fn_exit 0
9356_ACEOF
9357ac_clean_files=$ac_clean_files_save
9358
9359test $ac_write_fail = 0 ||
9360  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9361
9362
9363# configure is writing to config.log, and then calls config.status.
9364# config.status does its own redirection, appending to config.log.
9365# Unfortunately, on DOS this fails, as config.log is still kept open
9366# by configure, so config.status won't be able to write to it; its
9367# output is simply discarded.  So we exec the FD to /dev/null,
9368# effectively closing config.log, so it can be properly (re)opened and
9369# appended to by config.status.  When coming back to configure, we
9370# need to make the FD available again.
9371if test "$no_create" != yes; then
9372  ac_cs_success=:
9373  ac_config_status_args=
9374  test "$silent" = yes &&
9375    ac_config_status_args="$ac_config_status_args --quiet"
9376  exec 5>/dev/null
9377  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9378  exec 5>>config.log
9379  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9380  # would make configure fail if this is the last instruction.
9381  $ac_cs_success || as_fn_exit 1
9382fi
9383if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9384  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9385$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9386fi
9387
Note: See TracBrowser for help on using the repository browser.