source: trunk/configure @ 1374

Last change on this file since 1374 was 1374, checked in by bradbell, 11 years ago

trunk: Add infrastructure for doxygen developer documentation

configure: automatic changes corresponding to change in configure.ac.
svn_status.sh: ignore doxydoc directory and doxyfile (see doxyfile.in).
doxyfile.in: conversion of original doxygen template to CppAD case.
*/makefile.in: remove Id property setting from all these files
configure.ac: add conversion of doxyfile.in -> doxyfile to configuration list.
build.sh: add 'build.sh doxygen' to list of options.
makefile.in: add doxyfile and doxyfile.in to distribution.
config.h: remove Id property from this file.

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