source: trunk/configure @ 3071

Last change on this file since 3071 was 3070, checked in by bradbell, 6 years ago

revert back to explicit for ctor from any type as default

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