source: releases/20180000.0/configure @ 3999

Last change on this file since 3999 was 3997, checked in by bradbell, 20 months ago

merge to branch: stable/20180000
from repository: https://github.com/coin-or/CppAD
start hash code: missing
end hash code: 9e35f3c9ea1ca60153f96e6bb7e5658ee75eb4fd

Change version to 2018000.0

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