Codebase list cppad / b89d645
Imported Upstream version 2015.00.00.9 Barak A. Pearlmutter 8 years ago
39 changed file(s) with 3108 addition(s) and 3769 deletion(s). Raw diff Collapse all Expand all
0 # $Id: CMakeLists.txt 3647 2015-02-15 01:06:13Z bradbell $
0 # $Id: CMakeLists.txt 3661 2015-02-23 22:19:20Z bradbell $
11 # -----------------------------------------------------------------------------
22 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
33 #
1515 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
1616
1717 # cppad_version is used by set_version.sh to get the version number.
18 SET(cppad_version "20150000.8" )
18 SET(cppad_version "20150000.9" )
1919 SET(cppad_url "http://www.coin-or.org/CppAD" )
2020 SET(cppad_description "Differentiation of C++ Algorithms" )
2121
00 #! /bin/bash -e
1 # $Id: get_eigen.sh 2931 2013-10-12 13:13:45Z bradbell $
1 # $Id: get_eigen.sh 3658 2015-02-22 13:56:28Z bradbell $
22 # -----------------------------------------------------------------------------
33 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
44 #
6767 prefix=`pwd`'/build/prefix'
6868 # -----------------------------------------------------------------------------
6969 # determine which version of cmake to use
70 cmake --version | sed \
70 cmake --version | sed -n \
7171 -e 's|[^0-9]*|.|g ' \
7272 -e 's|\.\([0-9]*\)\.\([0-9]*\).*|\1 * 10 + \2|' \
73 -e '1,1p' \
7374 | bc > get_ipopt.$$
7475 cmake_version=`cat get_ipopt.$$`
7576 rm get_ipopt.$$
00 #! /bin/bash -e
1 # $Id: get_sacado.sh 3407 2014-11-27 13:14:56Z bradbell $
1 # $Id: get_sacado.sh 3658 2015-02-22 13:56:28Z bradbell $
22 # -----------------------------------------------------------------------------
33 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
44 #
6868 prefix=`pwd`'/build/prefix'
6969 # -----------------------------------------------------------------------------
7070 # determine which version of cmake to use
71 cmake --version | sed \
71 cmake --version | sed -n \
7272 -e 's|[^0-9]*|.|g ' \
7373 -e 's|\.\([0-9]*\)\.\([0-9]*\).*|\1 * 10 + \2|' \
74 -e '1,1p' \
7475 | bc > get_sacado.$$
7576 cmake_version=`cat get_sacado.$$`
7677 rm get_sacado.$$
00 #! /bin/bash -e
1 # $Id: jenkins.sh 3485 2014-12-18 14:33:03Z bradbell $
1 # $Id: jenkins.sh 3658 2015-02-22 13:56:28Z bradbell $
22 # -----------------------------------------------------------------------------
33 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
44 #
55 # CppAD is distributed under multiple licenses. This distribution is under
6 # the terms of the
6 # the terms of the
77 # GNU General Public License Version 3.
88 #
99 # A copy of this license is included in the COPYING file of this distribution.
1414 echo "bin/jenkins.sh: must be executed from its parent directory"
1515 exit 1
1616 fi
17 if [ "$1" != 'none' ] && [ "$1" != 'build' ] && [ "$1" != 'install' ]
17 if [ "$1" != 'none' ] && [ "$1" != 'build' ] && [ "$1" != 'install' ]
1818 then
1919 echo 'bin/junk.sh: redo_external'
20 echo 'Where redo_external is one of: build, install, none'
20 echo 'where redo_external is one of: build, install, none'
21 echo
22 echo 'build: download build and install all the externals'
23 echo 'install: reuse as much of previous build as possible'
24 echo 'none: uses the previous install (fastest option)'
2125 exit 1
2226 fi
2327 redo_external="$1"
3438 log_eval() {
3539 echo "------------------------------------------------" >> ../jenkins.log
3640 echo "------------------------------------------------" >> ../jenkins.err
37 echo $* >> ../jenkins.log
38 echo $* >> ../jenkins.err
39 echo $* "1>> ../jenkins.log 2>> ../jenkins.err"
40 if ! eval $* 1>> ../jenkins.log 2>> ../jenkins.err
41 echo $* >> $trunk_dir/jenkins.log
42 echo $* >> $trunk_dir/jenkins.err
43 echo $* "1>> $trunk_dir/jenkins.log 2>> $trunk_dir/jenkins.err"
44 if ! eval $* 1>> $trunk_dir/jenkins.log 2>> $trunk_dir/jenkins.err
4145 then
42 echo_eval cat ../jenkins.log
43 echo_eval cat ../jenkins.err
46 echo_eval cat $trunk_dir/jenkins.log
47 echo_eval cat $trunk_dir/jenkins.err
4448 exit 1
4549 fi
4650 }
4751 for ext in log err
4852 do
49 if [ -e "../jenkins.$ext" ]
53 if [ -e "$trunk_dir/jenkins.$ext" ]
5054 then
51 echo_eval rm ../jenkins.$ext
55 echo_eval rm $trunk_dir/jenkins.$ext
5256 fi
5357 done
5458 # --------------------------------------------------------------------------
6670 then
6771 # -------------------------------------------------------------------
6872 # this comand cleans out the previous install for all externals
69 echo_eval rm -rf build/prefix
73 echo_eval rm -rf build/prefix
7074 # -------------------------------------------------------------------
7175 if [ "$redo_extrnal" == 'build' ]
7276 then
116120 fi
117121 # -----------------------------------------------------------------------
118122 # Use trunk_dir/../build to build and test CppAD (no reuse)
119 echo_eval cd ..
120 echo_eval rm -rf build
121 echo_eval mkdir build
122123 echo_eval cd build
124 echo_eval rm -rf auto_tools
125 echo_eval mkdir auto_tools
126 echo_eval cd auto_tools
123127 #
124128 # configure cppad to use all the packages above
125 if which rpm >& /dev/null
129 if which rpm >& /dev/null
126130 then
127131 build_type=`rpm --eval %{_host}`
128132 build_type="--build=$build_type"
159163 fi
160164 #
161165 # compile the tests
162 log_eval make check
166 log_eval make check
163167 #
164168 # run the tests
165169 log_eval make test
166170 #
167171 # print the test results on the console
168172 echo 'copy make test output to console'
169 sed -n -e '/^make test$/,$p' ../jenkins.log
173 sed -n -e '/^make test$/,$p' $trunk_dir/jenkins.log
170174 #
171175 # make it here without an error exit
172176 echo "jenkins.sh: OK"
00 #! /bin/bash -e
1 # $Id: new_release.sh 3647 2015-02-15 01:06:13Z bradbell $
1 # $Id: new_release.sh 3661 2015-02-23 22:19:20Z bradbell $
22 # -----------------------------------------------------------------------------
33 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
44 #
2222 # -----------------------------------------------------------------------------
2323 svn_repository="https://projects.coin-or.org/svn/CppAD"
2424 stable_version="20150000"
25 release='8'
25 release='9'
2626 release_version="$stable_version.$release"
2727 # -----------------------------------------------------------------------------
2828 # Check release version
321321 top_builddir = @top_builddir@
322322 top_srcdir = @top_srcdir@
323323
324 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
324 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
325325 # -----------------------------------------------------------------------------
326326 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
327327 #
+2877
-3579
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for cppad 20150000.8.
2 # Generated by GNU Autoconf 2.69 for cppad 20150000.9.
33 #
44 # Report bugs to <cppad@list.coin-or.org>.
55 #
579579 # Identity of this package.
580580 PACKAGE_NAME='cppad'
581581 PACKAGE_TARNAME='cppad'
582 PACKAGE_VERSION='20150000.8'
583 PACKAGE_STRING='cppad 20150000.8'
582 PACKAGE_VERSION='20150000.9'
583 PACKAGE_STRING='cppad 20150000.9'
584584 PACKAGE_BUGREPORT='cppad@list.coin-or.org'
585585 PACKAGE_URL=''
586586
656656 build_vendor
657657 build_cpu
658658 build
659 ac_ct_FC
660 FCFLAGS
661 FC
662659 CppAD_MS_COMPILER_FALSE
663660 CppAD_MS_COMPILER_TRUE
664 am__fastdepCXX_FALSE
665 am__fastdepCXX_TRUE
666 CXXDEPMODE
667 ac_ct_CXX
668 CXXFLAGS
669 CXX
670661 RANLIB
671 am__fastdepCC_FALSE
672 am__fastdepCC_TRUE
673 CCDEPMODE
674 am__nodep
675 AMDEPBACKSLASH
676 AMDEP_FALSE
677 AMDEP_TRUE
678 am__quote
679 am__include
680 DEPDIR
681 am__untar
682 am__tar
683 AMTAR
684 am__leading_dot
685 SET_MAKE
686 AWK
687 mkdir_p
688 MKDIR_P
689 INSTALL_STRIP_PROGRAM
690 STRIP
691 install_sh
692 MAKEINFO
693 AUTOHEADER
694 AUTOMAKE
695 AUTOCONF
696 ACLOCAL
697 VERSION
698 PACKAGE
699 CYGPATH_W
700 am__isrc
701 INSTALL_DATA
702 INSTALL_SCRIPT
703 INSTALL_PROGRAM
704662 cppad_has_gettimeofday
705663 cppad_cppadvector
706664 cppad_size_t_not_unsigned_int
712670 cppad_has_rvalue
713671 cppad_has_nullptr
714672 cppad_has_colpack
673 CppAD_HAVE_AR_FALSE
674 CppAD_HAVE_AR_TRUE
675 ac_ct_AR
676 AR
677 CppAD_PKG_CONFIG_FALSE
678 CppAD_PKG_CONFIG_TRUE
679 have_pkg_config
680 ac_ct_FC
681 FCFLAGS
682 FC
683 am__fastdepCC_FALSE
684 am__fastdepCC_TRUE
685 CCDEPMODE
686 ac_ct_CC
687 CFLAGS
688 CC
689 am__fastdepCXX_FALSE
690 am__fastdepCXX_TRUE
691 CXXDEPMODE
692 am__nodep
693 AMDEPBACKSLASH
694 AMDEP_FALSE
695 AMDEP_TRUE
696 am__quote
697 am__include
698 DEPDIR
699 OBJEXT
700 EXEEXT
701 ac_ct_CXX
702 CPPFLAGS
703 LDFLAGS
704 CXXFLAGS
705 CXX
715706 cppad_tape_id_type
716707 TAPE_ID_TYPE
717708 cppad_tape_addr_type
754745 cppad_stdvector
755746 CppAD_DOCUMENTATION_FALSE
756747 CppAD_DOCUMENTATION_TRUE
757 CppAD_HAVE_AR_FALSE
758 CppAD_HAVE_AR_TRUE
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
765 CC
766 ac_ct_AR
767 AR
768 CppAD_PKG_CONFIG_FALSE
769 CppAD_PKG_CONFIG_TRUE
770 have_pkg_config
748 am__untar
749 am__tar
750 AMTAR
751 am__leading_dot
752 SET_MAKE
753 AWK
754 mkdir_p
755 MKDIR_P
756 INSTALL_STRIP_PROGRAM
757 STRIP
758 install_sh
759 MAKEINFO
760 AUTOHEADER
761 AUTOMAKE
762 AUTOCONF
763 ACLOCAL
764 VERSION
765 PACKAGE
766 CYGPATH_W
767 am__isrc
768 INSTALL_DATA
769 INSTALL_SCRIPT
770 INSTALL_PROGRAM
771771 MAINT
772772 MAINTAINER_MODE_FALSE
773773 MAINTAINER_MODE_TRUE
825825 with_Example
826826 with_TestMore
827827 with_PrintFor
828 enable_msvc
828829 with_Documentation
829830 with_stdvector
830831 with_boostvector
837838 ac_precious_vars='build_alias
838839 host_alias
839840 target_alias
840 CC
841 CFLAGS
842 LDFLAGS
843 LIBS
844 CPPFLAGS
845841 POSTFIX_DIR
846842 ADOLC_DIR
847843 EIGEN_DIR
854850 MAX_NUM_THREADS
855851 TAPE_ADDR_TYPE
856852 TAPE_ID_TYPE
857 CPP
858853 CXX
859854 CXXFLAGS
855 LDFLAGS
856 LIBS
857 CPPFLAGS
860858 CCC
859 CC
860 CFLAGS
861861 FC
862 FCFLAGS'
862 FCFLAGS
863 CPP'
863864
864865
865866 # Initialize some variables set by options.
14001401 # Omit some internal or obsolete options to make the list less imposing.
14011402 # This message is too long to be a string in the A/UX 3.1 sh.
14021403 cat <<_ACEOF
1403 \`configure' configures cppad 20150000.8 to adapt to many kinds of systems.
1404 \`configure' configures cppad 20150000.9 to adapt to many kinds of systems.
14041405
14051406 Usage: $0 [OPTION]... [VAR=VALUE]...
14061407
14701471
14711472 if test -n "$ac_init_help"; then
14721473 case $ac_init_help in
1473 short | recursive ) echo "Configuration of cppad 20150000.8:";;
1474 short | recursive ) echo "Configuration of cppad 20150000.9:";;
14741475 esac
14751476 cat <<\_ACEOF
14761477
14831484 --enable-maintainer-mode
14841485 enable make rules and dependencies not useful (and
14851486 sometimes confusing) to the casual installer
1487 --enable-msvc Prefer (i)cl/ifort/link over GNU on MinGW/Cygwin.
14861488 --enable-dependency-tracking
14871489 do not reject slow dependency extractors
14881490 --disable-dependency-tracking
15081510 type
15091511
15101512 Some influential environment variables:
1511 CC C compiler command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1514 nonstandard directory <lib dir>
1515 LIBS libraries to pass to the linker, e.g. -l<library>
1516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1517 you have headers in a nonstandard directory <include dir>
15181513 POSTFIX_DIR postfix directory for CppAD installation
15191514 ADOLC_DIR value of configure prefix directory during Adolc install
15201515 EIGEN_DIR value of configure prefix directory during Eigen install
15311526 type used for addresses in AD tapes
15321527 TAPE_ID_TYPE
15331528 type used for addresses in AD tapes
1534 CPP C preprocessor
15351529 CXX C++ compiler command
15361530 CXXFLAGS C++ compiler flags
1531 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1532 nonstandard directory <lib dir>
1533 LIBS libraries to pass to the linker, e.g. -l<library>
1534 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1535 you have headers in a nonstandard directory <include dir>
1536 CC C compiler command
1537 CFLAGS C compiler flags
15371538 FC Fortran compiler command
15381539 FCFLAGS Fortran compiler flags
1540 CPP C preprocessor
15391541
15401542 Use these variables to override the choices made by `configure' or to help
15411543 it to find libraries and programs with nonstandard names/locations.
16031605 test -n "$ac_init_help" && exit $ac_status
16041606 if $ac_init_version; then
16051607 cat <<\_ACEOF
1606 cppad configure 20150000.8
1608 cppad configure 20150000.9
16071609 generated by GNU Autoconf 2.69
16081610
16091611 Copyright (C) 2012 Free Software Foundation, Inc.
16161618 ## ------------------------ ##
16171619 ## Autoconf initialization. ##
16181620 ## ------------------------ ##
1621
1622 # ac_fn_cxx_try_compile LINENO
1623 # ----------------------------
1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_cxx_try_compile ()
1626 {
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext
1629 if { { ac_try="$ac_compile"
1630 case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_compile") 2>conftest.err
1637 ac_status=$?
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1642 fi
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_cxx_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest.$ac_objext; then :
1648 ac_retval=0
1649 else
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1652
1653 ac_retval=1
1654 fi
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1657
1658 } # ac_fn_cxx_try_compile
16191659
16201660 # ac_fn_c_try_compile LINENO
16211661 # --------------------------
16541694 as_fn_set_status $ac_retval
16551695
16561696 } # ac_fn_c_try_compile
1697
1698 # ac_fn_fc_try_compile LINENO
1699 # ---------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_fc_try_compile ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1718 fi
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_fc_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1728
1729 ac_retval=1
1730 fi
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1733
1734 } # ac_fn_fc_try_compile
16571735
16581736 # ac_fn_c_try_run LINENO
16591737 # ----------------------
20612139
20622140 } # ac_fn_c_check_func
20632141
2064 # ac_fn_cxx_try_compile LINENO
2065 # ----------------------------
2066 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_compile ()
2068 {
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 rm -f conftest.$ac_objext
2071 if { { ac_try="$ac_compile"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_compile") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2084 fi
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && {
2087 test -z "$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 } && test -s conftest.$ac_objext; then :
2090 ac_retval=0
2091 else
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2094
2095 ac_retval=1
2096 fi
2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 as_fn_set_status $ac_retval
2099
2100 } # ac_fn_cxx_try_compile
2101
2102 # ac_fn_fc_try_compile LINENO
2103 # ---------------------------
2104 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2105 ac_fn_fc_try_compile ()
2106 {
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 rm -f conftest.$ac_objext
2109 if { { ac_try="$ac_compile"
2110 case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113 esac
2114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_compile") 2>conftest.err
2117 ac_status=$?
2118 if test -s conftest.err; then
2119 grep -v '^ *+' conftest.err >conftest.er1
2120 cat conftest.er1 >&5
2121 mv -f conftest.er1 conftest.err
2122 fi
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; } && {
2125 test -z "$ac_fc_werror_flag" ||
2126 test ! -s conftest.err
2127 } && test -s conftest.$ac_objext; then :
2128 ac_retval=0
2129 else
2130 $as_echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.$ac_ext >&5
2132
2133 ac_retval=1
2134 fi
2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2136 as_fn_set_status $ac_retval
2137
2138 } # ac_fn_fc_try_compile
2139
21402142 # ac_fn_cxx_try_link LINENO
21412143 # -------------------------
21422144 # Try to link conftest.$ac_ext, and return whether this succeeded.
22322234 This file contains any messages produced by compilers while
22332235 running configure, to aid debugging if configure makes a mistake.
22342236
2235 It was created by cppad $as_me 20150000.8, which was
2237 It was created by cppad $as_me 20150000.9, which was
22362238 generated by GNU Autoconf 2.69. Invocation command line was
22372239
22382240 $ $0 $@
26462648
26472649
26482650
2649
2650 # Extract the first word of "pkg-config", so it can be a program name with args.
2651 set dummy pkg-config; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_have_pkg_config+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 if test -n "$have_pkg_config"; then
2658 ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test.
2659 else
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH
2662 do
2663 IFS=$as_save_IFS
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_have_pkg_config="yes"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 break 2
2670 fi
2671 done
2672 done
2673 IFS=$as_save_IFS
2674
2675 test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no"
2676 fi
2677 fi
2678 have_pkg_config=$ac_cv_prog_have_pkg_config
2679 if test -n "$have_pkg_config"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5
2681 $as_echo "$have_pkg_config" >&6; }
2682 else
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2685 fi
2686
2687
2688 if test "$have_pkg_config" = "yes"; then
2689 CppAD_PKG_CONFIG_TRUE=
2690 CppAD_PKG_CONFIG_FALSE='#'
2691 else
2692 CppAD_PKG_CONFIG_TRUE='#'
2693 CppAD_PKG_CONFIG_FALSE=
2694 fi
2695
2696
2697 # expand $ac_aux_dir to an absolute path
2698 am_aux_dir=`cd $ac_aux_dir && pwd`
2699
2700 ac_ext=c
2701 ac_cpp='$CPP $CPPFLAGS'
2702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2707 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if ${ac_cv_prog_CC+:} false; then :
2711 $as_echo_n "(cached) " >&6
2712 else
2713 if test -n "$CC"; then
2714 ac_cv_prog_CC="$CC" # Let the user override the test.
2715 else
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH
2718 do
2719 IFS=$as_save_IFS
2720 test -z "$as_dir" && as_dir=.
2721 for ac_exec_ext in '' $ac_executable_extensions; do
2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2723 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 break 2
2726 fi
2727 done
2728 done
2729 IFS=$as_save_IFS
2730
2731 fi
2732 fi
2733 CC=$ac_cv_prog_CC
2734 if test -n "$CC"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2736 $as_echo "$CC" >&6; }
2737 else
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2740 fi
2741
2742
2743 fi
2744 if test -z "$ac_cv_prog_CC"; then
2745 ac_ct_CC=$CC
2746 # Extract the first word of "gcc", so it can be a program name with args.
2747 set dummy gcc; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 if test -n "$ac_ct_CC"; then
2754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2755 else
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 for as_dir in $PATH
2758 do
2759 IFS=$as_save_IFS
2760 test -z "$as_dir" && as_dir=.
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2763 ac_cv_prog_ac_ct_CC="gcc"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 break 2
2766 fi
2767 done
2768 done
2769 IFS=$as_save_IFS
2770
2771 fi
2772 fi
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2776 $as_echo "$ac_ct_CC" >&6; }
2777 else
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2780 fi
2781
2782 if test "x$ac_ct_CC" = x; then
2783 CC=""
2784 else
2785 case $cross_compiling:$ac_tool_warned in
2786 yes:)
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2789 ac_tool_warned=yes ;;
2790 esac
2791 CC=$ac_ct_CC
2792 fi
2793 else
2794 CC="$ac_cv_prog_CC"
2795 fi
2796
2797 if test -z "$CC"; then
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}cc; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_CC+:} false; then :
2804 $as_echo_n "(cached) " >&6
2805 else
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC="$CC" # Let the user override the test.
2808 else
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2811 do
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CC="${ac_tool_prefix}cc"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 break 2
2819 fi
2820 done
2821 done
2822 IFS=$as_save_IFS
2823
2824 fi
2825 fi
2826 CC=$ac_cv_prog_CC
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2830 else
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2833 fi
2834
2835
2836 fi
2837 fi
2838 if test -z "$CC"; then
2839 # Extract the first word of "cc", so it can be a program name with args.
2840 set dummy cc; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_CC+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if test -n "$CC"; then
2847 ac_cv_prog_CC="$CC" # Let the user override the test.
2848 else
2849 ac_prog_rejected=no
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 for as_dir in $PATH
2852 do
2853 IFS=$as_save_IFS
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2858 ac_prog_rejected=yes
2859 continue
2860 fi
2861 ac_cv_prog_CC="cc"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 break 2
2864 fi
2865 done
2866 done
2867 IFS=$as_save_IFS
2868
2869 if test $ac_prog_rejected = yes; then
2870 # We found a bogon in the path, so make sure we never use it.
2871 set dummy $ac_cv_prog_CC
2872 shift
2873 if test $# != 0; then
2874 # We chose a different compiler from the bogus one.
2875 # However, it has the same basename, so the bogon will be chosen
2876 # first if we set CC to just the basename; use the full file name.
2877 shift
2878 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2879 fi
2880 fi
2881 fi
2882 fi
2883 CC=$ac_cv_prog_CC
2884 if test -n "$CC"; then
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2886 $as_echo "$CC" >&6; }
2887 else
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2890 fi
2891
2892
2893 fi
2894 if test -z "$CC"; then
2895 if test -n "$ac_tool_prefix"; then
2896 for ac_prog in cl.exe
2897 do
2898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if ${ac_cv_prog_CC+:} false; then :
2903 $as_echo_n "(cached) " >&6
2904 else
2905 if test -n "$CC"; then
2906 ac_cv_prog_CC="$CC" # Let the user override the test.
2907 else
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 for as_dir in $PATH
2910 do
2911 IFS=$as_save_IFS
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 break 2
2918 fi
2919 done
2920 done
2921 IFS=$as_save_IFS
2922
2923 fi
2924 fi
2925 CC=$ac_cv_prog_CC
2926 if test -n "$CC"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2928 $as_echo "$CC" >&6; }
2929 else
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2932 fi
2933
2934
2935 test -n "$CC" && break
2936 done
2937 fi
2938 if test -z "$CC"; then
2939 ac_ct_CC=$CC
2940 for ac_prog in cl.exe
2941 do
2942 # Extract the first word of "$ac_prog", so it can be a program name with args.
2943 set dummy $ac_prog; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 if test -n "$ac_ct_CC"; then
2950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2951 else
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2954 do
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2959 ac_cv_prog_ac_ct_CC="$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 break 2
2962 fi
2963 done
2964 done
2965 IFS=$as_save_IFS
2966
2967 fi
2968 fi
2969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2970 if test -n "$ac_ct_CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2972 $as_echo "$ac_ct_CC" >&6; }
2973 else
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 fi
2977
2978
2979 test -n "$ac_ct_CC" && break
2980 done
2981
2982 if test "x$ac_ct_CC" = x; then
2983 CC=""
2984 else
2985 case $cross_compiling:$ac_tool_warned in
2986 yes:)
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2989 ac_tool_warned=yes ;;
2990 esac
2991 CC=$ac_ct_CC
2992 fi
2993 fi
2994
2995 fi
2996
2997
2998 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3000 as_fn_error $? "no acceptable C compiler found in \$PATH
3001 See \`config.log' for more details" "$LINENO" 5; }
3002
3003 # Provide some information about the compiler.
3004 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3005 set X $ac_compile
3006 ac_compiler=$2
3007 for ac_option in --version -v -V -qversion; do
3008 { { ac_try="$ac_compiler $ac_option >&5"
3009 case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012 esac
3013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3014 $as_echo "$ac_try_echo"; } >&5
3015 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3016 ac_status=$?
3017 if test -s conftest.err; then
3018 sed '10a\
3019 ... rest of stderr output deleted ...
3020 10q' conftest.err >conftest.er1
3021 cat conftest.er1 >&5
3022 fi
3023 rm -f conftest.er1 conftest.err
3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025 test $ac_status = 0; }
3026 done
3027
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3030
3031 int
3032 main ()
3033 {
3034
3035 ;
3036 return 0;
3037 }
3038 _ACEOF
3039 ac_clean_files_save=$ac_clean_files
3040 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3041 # Try to create an executable without -o first, disregard a.out.
3042 # It will help us diagnose broken compilers, and finding out an intuition
3043 # of exeext.
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3045 $as_echo_n "checking whether the C compiler works... " >&6; }
3046 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3047
3048 # The possible output files:
3049 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3050
3051 ac_rmfiles=
3052 for ac_file in $ac_files
3053 do
3054 case $ac_file in
3055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3056 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3057 esac
3058 done
3059 rm -f $ac_rmfiles
3060
3061 if { { ac_try="$ac_link_default"
3062 case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_link_default") 2>&5
3069 ac_status=$?
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }; then :
3072 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3073 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3074 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3075 # so that the user can short-circuit this test for compilers unknown to
3076 # Autoconf.
3077 for ac_file in $ac_files ''
3078 do
3079 test -f "$ac_file" || continue
3080 case $ac_file in
3081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3082 ;;
3083 [ab].out )
3084 # We found the default executable, but exeext='' is most
3085 # certainly right.
3086 break;;
3087 *.* )
3088 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3089 then :; else
3090 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3091 fi
3092 # We set ac_cv_exeext here because the later test for it is not
3093 # safe: cross compilers may not add the suffix if given an `-o'
3094 # argument, so we may need to know it at that point already.
3095 # Even if this section looks crufty: it has the advantage of
3096 # actually working.
3097 break;;
3098 * )
3099 break;;
3100 esac
3101 done
3102 test "$ac_cv_exeext" = no && ac_cv_exeext=
3103
3104 else
3105 ac_file=''
3106 fi
3107 if test -z "$ac_file"; then :
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
3110 $as_echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3112
3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3115 as_fn_error 77 "C compiler cannot create executables
3116 See \`config.log' for more details" "$LINENO" 5; }
3117 else
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3119 $as_echo "yes" >&6; }
3120 fi
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3122 $as_echo_n "checking for C compiler default output file name... " >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3124 $as_echo "$ac_file" >&6; }
3125 ac_exeext=$ac_cv_exeext
3126
3127 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3128 ac_clean_files=$ac_clean_files_save
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3130 $as_echo_n "checking for suffix of executables... " >&6; }
3131 if { { ac_try="$ac_link"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_link") 2>&5
3139 ac_status=$?
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; then :
3142 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3143 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3144 # work properly (i.e., refer to `conftest.exe'), while it won't with
3145 # `rm'.
3146 for ac_file in conftest.exe conftest conftest.*; do
3147 test -f "$ac_file" || continue
3148 case $ac_file in
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3150 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3151 break;;
3152 * ) break;;
3153 esac
3154 done
3155 else
3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3159 See \`config.log' for more details" "$LINENO" 5; }
3160 fi
3161 rm -f conftest conftest$ac_cv_exeext
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3163 $as_echo "$ac_cv_exeext" >&6; }
3164
3165 rm -f conftest.$ac_ext
3166 EXEEXT=$ac_cv_exeext
3167 ac_exeext=$EXEEXT
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3170 #include <stdio.h>
3171 int
3172 main ()
3173 {
3174 FILE *f = fopen ("conftest.out", "w");
3175 return ferror (f) || fclose (f) != 0;
3176
3177 ;
3178 return 0;
3179 }
3180 _ACEOF
3181 ac_clean_files="$ac_clean_files conftest.out"
3182 # Check that the compiler produces executables we can run. If not, either
3183 # the compiler is broken, or we cross compile.
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3185 $as_echo_n "checking whether we are cross compiling... " >&6; }
3186 if test "$cross_compiling" != yes; then
3187 { { ac_try="$ac_link"
3188 case "(($ac_try" in
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3191 esac
3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3193 $as_echo "$ac_try_echo"; } >&5
3194 (eval "$ac_link") 2>&5
3195 ac_status=$?
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3197 test $ac_status = 0; }
3198 if { ac_try='./conftest$ac_cv_exeext'
3199 { { case "(($ac_try" in
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3202 esac
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_try") 2>&5
3206 ac_status=$?
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; }; }; then
3209 cross_compiling=no
3210 else
3211 if test "$cross_compiling" = maybe; then
3212 cross_compiling=yes
3213 else
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error $? "cannot run C compiled programs.
3217 If you meant to cross compile, use \`--host'.
3218 See \`config.log' for more details" "$LINENO" 5; }
3219 fi
3220 fi
3221 fi
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3223 $as_echo "$cross_compiling" >&6; }
3224
3225 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3226 ac_clean_files=$ac_clean_files_save
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3228 $as_echo_n "checking for suffix of object files... " >&6; }
3229 if ${ac_cv_objext+:} false; then :
3230 $as_echo_n "(cached) " >&6
3231 else
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3234
3235 int
3236 main ()
3237 {
3238
3239 ;
3240 return 0;
3241 }
3242 _ACEOF
3243 rm -f conftest.o conftest.obj
3244 if { { ac_try="$ac_compile"
3245 case "(($ac_try" in
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3248 esac
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_compile") 2>&5
3252 ac_status=$?
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }; then :
3255 for ac_file in conftest.o conftest.obj conftest.*; do
3256 test -f "$ac_file" || continue;
3257 case $ac_file in
3258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3259 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3260 break;;
3261 esac
3262 done
3263 else
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3266
3267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269 as_fn_error $? "cannot compute suffix of object files: cannot compile
3270 See \`config.log' for more details" "$LINENO" 5; }
3271 fi
3272 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3273 fi
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3275 $as_echo "$ac_cv_objext" >&6; }
3276 OBJEXT=$ac_cv_objext
3277 ac_objext=$OBJEXT
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3279 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3280 if ${ac_cv_c_compiler_gnu+:} false; then :
3281 $as_echo_n "(cached) " >&6
3282 else
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3285
3286 int
3287 main ()
3288 {
3289 #ifndef __GNUC__
3290 choke me
3291 #endif
3292
3293 ;
3294 return 0;
3295 }
3296 _ACEOF
3297 if ac_fn_c_try_compile "$LINENO"; then :
3298 ac_compiler_gnu=yes
3299 else
3300 ac_compiler_gnu=no
3301 fi
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3304
3305 fi
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3307 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3308 if test $ac_compiler_gnu = yes; then
3309 GCC=yes
3310 else
3311 GCC=
3312 fi
3313 ac_test_CFLAGS=${CFLAGS+set}
3314 ac_save_CFLAGS=$CFLAGS
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3316 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3317 if ${ac_cv_prog_cc_g+:} false; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 ac_save_c_werror_flag=$ac_c_werror_flag
3321 ac_c_werror_flag=yes
3322 ac_cv_prog_cc_g=no
3323 CFLAGS="-g"
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3326
3327 int
3328 main ()
3329 {
3330
3331 ;
3332 return 0;
3333 }
3334 _ACEOF
3335 if ac_fn_c_try_compile "$LINENO"; then :
3336 ac_cv_prog_cc_g=yes
3337 else
3338 CFLAGS=""
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3341
3342 int
3343 main ()
3344 {
3345
3346 ;
3347 return 0;
3348 }
3349 _ACEOF
3350 if ac_fn_c_try_compile "$LINENO"; then :
3351
3352 else
3353 ac_c_werror_flag=$ac_save_c_werror_flag
3354 CFLAGS="-g"
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3357
3358 int
3359 main ()
3360 {
3361
3362 ;
3363 return 0;
3364 }
3365 _ACEOF
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 ac_cv_prog_cc_g=yes
3368 fi
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 fi
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 fi
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 ac_c_werror_flag=$ac_save_c_werror_flag
3375 fi
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3377 $as_echo "$ac_cv_prog_cc_g" >&6; }
3378 if test "$ac_test_CFLAGS" = set; then
3379 CFLAGS=$ac_save_CFLAGS
3380 elif test $ac_cv_prog_cc_g = yes; then
3381 if test "$GCC" = yes; then
3382 CFLAGS="-g -O2"
3383 else
3384 CFLAGS="-g"
3385 fi
3386 else
3387 if test "$GCC" = yes; then
3388 CFLAGS="-O2"
3389 else
3390 CFLAGS=
3391 fi
3392 fi
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3394 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3395 if ${ac_cv_prog_cc_c89+:} false; then :
3396 $as_echo_n "(cached) " >&6
3397 else
3398 ac_cv_prog_cc_c89=no
3399 ac_save_CC=$CC
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3402 #include <stdarg.h>
3403 #include <stdio.h>
3404 struct stat;
3405 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3406 struct buf { int x; };
3407 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3408 static char *e (p, i)
3409 char **p;
3410 int i;
3411 {
3412 return p[i];
3413 }
3414 static char *f (char * (*g) (char **, int), char **p, ...)
3415 {
3416 char *s;
3417 va_list v;
3418 va_start (v,p);
3419 s = g (p, va_arg (v,int));
3420 va_end (v);
3421 return s;
3422 }
3423
3424 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3425 function prototypes and stuff, but not '\xHH' hex character constants.
3426 These don't provoke an error unfortunately, instead are silently treated
3427 as 'x'. The following induces an error, until -std is added to get
3428 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3429 array size at least. It's necessary to write '\x00'==0 to get something
3430 that's true only with -std. */
3431 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3432
3433 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3434 inside strings and character constants. */
3435 #define FOO(x) 'x'
3436 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3437
3438 int test (int i, double x);
3439 struct s1 {int (*f) (int a);};
3440 struct s2 {int (*f) (double a);};
3441 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3442 int argc;
3443 char **argv;
3444 int
3445 main ()
3446 {
3447 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3448 ;
3449 return 0;
3450 }
3451 _ACEOF
3452 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3453 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3454 do
3455 CC="$ac_save_CC $ac_arg"
3456 if ac_fn_c_try_compile "$LINENO"; then :
3457 ac_cv_prog_cc_c89=$ac_arg
3458 fi
3459 rm -f core conftest.err conftest.$ac_objext
3460 test "x$ac_cv_prog_cc_c89" != "xno" && break
3461 done
3462 rm -f conftest.$ac_ext
3463 CC=$ac_save_CC
3464
3465 fi
3466 # AC_CACHE_VAL
3467 case "x$ac_cv_prog_cc_c89" in
3468 x)
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3470 $as_echo "none needed" >&6; } ;;
3471 xno)
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3473 $as_echo "unsupported" >&6; } ;;
3474 *)
3475 CC="$CC $ac_cv_prog_cc_c89"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3477 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3478 esac
3479 if test "x$ac_cv_prog_cc_c89" != xno; then :
3480
3481 fi
3482
3483 ac_ext=c
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488
3489
3490 if test -n "$ac_tool_prefix"; then
3491 for ac_prog in ar lib "link -lib"
3492 do
3493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if ${ac_cv_prog_AR+:} false; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 if test -n "$AR"; then
3501 ac_cv_prog_AR="$AR" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3505 do
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3513 fi
3514 done
3515 done
3516 IFS=$as_save_IFS
3517
3518 fi
3519 fi
3520 AR=$ac_cv_prog_AR
3521 if test -n "$AR"; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3523 $as_echo "$AR" >&6; }
3524 else
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 $as_echo "no" >&6; }
3527 fi
3528
3529
3530 test -n "$AR" && break
3531 done
3532 fi
3533 if test -z "$AR"; then
3534 ac_ct_AR=$AR
3535 for ac_prog in ar lib "link -lib"
3536 do
3537 # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 if test -n "$ac_ct_AR"; then
3545 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3549 do
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_ac_ct_AR="$ac_prog"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3557 fi
3558 done
3559 done
3560 IFS=$as_save_IFS
3561
3562 fi
3563 fi
3564 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3565 if test -n "$ac_ct_AR"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3567 $as_echo "$ac_ct_AR" >&6; }
3568 else
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3571 fi
3572
3573
3574 test -n "$ac_ct_AR" && break
3575 done
3576
3577 if test "x$ac_ct_AR" = x; then
3578 AR="false"
3579 else
3580 case $cross_compiling:$ac_tool_warned in
3581 yes:)
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3584 ac_tool_warned=yes ;;
3585 esac
3586 AR=$ac_ct_AR
3587 fi
3588 fi
3589
3590 : ${AR=ar}
3591
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3593 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3594 if ${am_cv_ar_interface+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 am_cv_ar_interface=ar
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3600 int some_variable = 0;
3601 _ACEOF
3602 if ac_fn_c_try_compile "$LINENO"; then :
3603 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3604 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3605 (eval $am_ar_try) 2>&5
3606 ac_status=$?
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }
3609 if test "$ac_status" -eq 0; then
3610 am_cv_ar_interface=ar
3611 else
3612 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3614 (eval $am_ar_try) 2>&5
3615 ac_status=$?
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }
3618 if test "$ac_status" -eq 0; then
3619 am_cv_ar_interface=lib
3620 else
3621 am_cv_ar_interface=unknown
3622 fi
3623 fi
3624 rm -f conftest.lib libconftest.a
3625
3626 fi
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3628
3629 fi
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3631 $as_echo "$am_cv_ar_interface" >&6; }
3632
3633 case $am_cv_ar_interface in
3634 ar)
3635 ;;
3636 lib)
3637 # Microsoft lib, so override with the ar-lib wrapper script.
3638 # FIXME: It is wrong to rewrite AR.
3639 # But if we don't then we get into trouble of one sort or another.
3640 # A longer-term fix would be to have automake use am__AR in this case,
3641 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3642 # similar.
3643 AR="$am_aux_dir/ar-lib $AR"
3644 ;;
3645 unknown)
3646 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3647 ;;
3648 esac
3649
3650 if test "$AR" = "ar"; then
3651 CppAD_HAVE_AR_TRUE=
3652 CppAD_HAVE_AR_FALSE='#'
3653 else
3654 CppAD_HAVE_AR_TRUE='#'
3655 CppAD_HAVE_AR_FALSE=
3656 fi
3657
3658 if test "$AR" != "ar"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot build any libraries because ar is missing; e.g,, speed/* not built
3660 " >&5
3661 $as_echo "$as_me: WARNING: cannot build any libraries because ar is missing; e.g,, speed/* not built
3662 " >&2;}
3663 fi
3664
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: *** Check command line arguments that are longer used ****" >&5
3666 $as_echo "$as_me: *** Check command line arguments that are longer used ****" >&6;}
3667
3668 if test "$CPP_ERROR_WARN" != "" ; then
3669 as_fn_error $? "The CPP_ERROR_WARN configure option is now CXX_FLAGS" "$LINENO" 5
3670 fi
3671
3672 # Check whether --with-SpeedExample was given.
3673 if test "${with_SpeedExample+set}" = set; then :
3674 withval=$with_SpeedExample; SpeedExample="yes"
3675 else
3676 SpeedExample="no"
3677
3678 fi
3679
3680 if test "$SpeedExample" = "yes" ; then
3681 as_fn_error $? "--with-SpeedExample not necessary, see install instructions." "$LINENO" 5
3682 fi
3683
3684 # Check whether --with-profiling was given.
3685 if test "${with_profiling+set}" = set; then :
3686 withval=$with_profiling; profiling="yes"
3687 else
3688 profiling="no"
3689
3690 fi
3691
3692 if test "$profiling" = "yes" ; then
3693 as_fn_error $? "--with-profiling not necessary, see install instructions." "$LINENO" 5
3694 fi
3695
3696 # Check whether --with-Speed was given.
3697 if test "${with_Speed+set}" = set; then :
3698 withval=$with_Speed; Speed="yes"
3699 else
3700 Speed="no"
3701
3702 fi
3703
3704 if test "$Speed" = "yes" ; then
3705 as_fn_error $? "--with-Speed not necessary, see install instructions." "$LINENO" 5
3706 fi
3707
3708 # Check whether --with-Introduction was given.
3709 if test "${with_Introduction+set}" = set; then :
3710 withval=$with_Introduction; Introduction="yes"
3711 else
3712 Introduction="no"
3713
3714 fi
3715
3716 if test "$Introduction" = "yes" ; then
3717 as_fn_error $? "--with-Introduction not necessary, see install instructions." "$LINENO" 5
3718 fi
3719
3720 # Check whether --with-Example was given.
3721 if test "${with_Example+set}" = set; then :
3722 withval=$with_Example; Example="yes"
3723 else
3724 Example="no"
3725
3726 fi
3727
3728 if test "$Example" = "yes" ; then
3729 as_fn_error $? "--with-Example not necessary, see install instructions." "$LINENO" 5
3730 fi
3731
3732 # Check whether --with-TestMore was given.
3733 if test "${with_TestMore+set}" = set; then :
3734 withval=$with_TestMore; TestMore="yes"
3735 else
3736 TestMore="no"
3737
3738 fi
3739
3740 if test "$TestMore" = "yes" ; then
3741 as_fn_error $? "--with-TestMore not necessary, see install instructions." "$LINENO" 5
3742 fi
3743
3744 # Check whether --with-PrintFor was given.
3745 if test "${with_PrintFor+set}" = set; then :
3746 withval=$with_PrintFor; PrintFor="yes"
3747 else
3748 PrintFor="no"
3749
3750 fi
3751
3752 if test "$PrintFor" = "yes" ; then
3753 as_fn_error $? "--with-PrintFor not necessary, see install instructions." "$LINENO" 5
3754 fi
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: ****** Check command line arguments that are used ***********" >&5
3756 $as_echo "$as_me: ****** Check command line arguments that are used ***********" >&6;}
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --prefix" >&5
3758 $as_echo_n "checking --prefix... " >&6; }
3759 if test "$prefix" = "NONE" ; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOME" >&5
3761 $as_echo "$HOME" >&6; }
3762 else
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
3764 $as_echo "$prefix" >&6; }
3765 fi
3766
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-Documentation" >&5
3768 $as_echo_n "checking --with-Documentation... " >&6; }
3769
3770 # Check whether --with-Documentation was given.
3771 if test "${with_Documentation+set}" = set; then :
3772 withval=$with_Documentation; Documentation="yes"
3773 else
3774 Documentation="no"
3775
3776 fi
3777
3778 if test "$Documentation" = "yes"; then
3779 CppAD_DOCUMENTATION_TRUE=
3780 CppAD_DOCUMENTATION_FALSE='#'
3781 else
3782 CppAD_DOCUMENTATION_TRUE='#'
3783 CppAD_DOCUMENTATION_FALSE=
3784 fi
3785
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $Documentation" >&5
3787 $as_echo "$Documentation" >&6; }
3788
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-stdvector" >&5
3790 $as_echo_n "checking --with-stdvector... " >&6; }
3791
3792 # Check whether --with-stdvector was given.
3793 if test "${with_stdvector+set}" = set; then :
3794 withval=$with_stdvector; stdvector="yes"
3795 else
3796 stdvector="no"
3797
3798 fi
3799
3800 if test "$stdvector" = "yes" ; then
3801 cppad_stdvector=1
3802
3803 else
3804 cppad_stdvector=0
3805
3806 fi
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stdvector" >&5
3808 $as_echo "$stdvector" >&6; }
3809
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-boostvector" >&5
3811 $as_echo_n "checking --with-boostvector... " >&6; }
3812
3813 # Check whether --with-boostvector was given.
3814 if test "${with_boostvector+set}" = set; then :
3815 withval=$with_boostvector; boostvector="yes"
3816 else
3817 boostvector="no"
3818
3819 fi
3820
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boostvector" >&5
3822 $as_echo "$boostvector" >&6; }
3823 if test "$boostvector" = "yes" ; then
3824 if test "$stdvector" != "no" ; then
3825 as_fn_error $? "cannot --with both stdvector and boostvector" "$LINENO" 5
3826 fi
3827 cppad_boostvector=1
3828
3829 else
3830 cppad_boostvector=0
3831
3832 fi
3833
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-eigenvector" >&5
3835 $as_echo_n "checking --with-eigenvector... " >&6; }
3836
3837 # Check whether --with-eigenvector was given.
3838 if test "${with_eigenvector+set}" = set; then :
3839 withval=$with_eigenvector; eigenvector="yes"
3840 else
3841 eigenvector="no"
3842
3843 fi
3844
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $eigenvector" >&5
3846 $as_echo "$eigenvector" >&6; }
3847 if test "$eigenvector" = "yes" ; then
3848 if test "$stdvector" != "no" ; then
3849 as_fn_error $? "cannot --with both stdvector and eigenvector" "$LINENO" 5
3850 fi
3851 if test "$boostvector" != "no" ; then
3852 as_fn_error $? "cannot --with both boostvector and eigenvector" "$LINENO" 5
3853 fi
3854 cppad_eigenvector=1
3855
3856 else
3857 cppad_eigenvector=0
3858
3859 fi
3860
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-sparse_set" >&5
3862 $as_echo_n "checking --with-sparse_set... " >&6; }
3863
3864 # Check whether --with-sparse_set was given.
3865 if test "${with_sparse_set+set}" = set; then :
3866 withval=$with_sparse_set; sparse_set="yes"
3867 else
3868 sparse_set="no"
3869
3870 fi
3871
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sparse_set" >&5
3873 $as_echo "$sparse_set" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-sparse_list" >&5
3875 $as_echo_n "checking --with-sparse_list... " >&6; }
3876
3877 # Check whether --with-sparse_list was given.
3878 if test "${with_sparse_list+set}" = set; then :
3879 withval=$with_sparse_list; sparse_list="yes"
3880 else
3881 sparse_list="no"
3882
3883 fi
3884
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sparse_list" >&5
3886 $as_echo "$sparse_list" >&6; }
3887 if test "$sparse_set" = "yes" ; then
3888 if test "$sparse_list" == "yes" ; then
3889 as_fn_error $? "cannot --with both sparse_set and sparse_list" "$LINENO" 5
3890 fi
3891 cppad_internal_sparse_set=sparse_set
3892
3893 else
3894 cppad_internal_sparse_set=sparse_list
3895
3896 fi
3897
3898
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-implicit_ctor" >&5
3900 $as_echo_n "checking --with-implicit_ctor... " >&6; }
3901
3902 # Check whether --with-implicit_ctor was given.
3903 if test "${with_implicit_ctor+set}" = set; then :
3904 withval=$with_implicit_ctor; implicit_ctor="yes"
3905 else
3906 implicit_ctor="no"
3907
3908 fi
3909
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $implicit_ctor" >&5
3911 $as_echo "$implicit_ctor" >&6; }
3912 if test "$implicit_ctor" = "yes" ; then
3913 cppad_implicit_ctor_from_any_type="1"
3914
3915 else
3916 cppad_implicit_ctor_from_any_type="0"
3917
3918 fi
3919
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSTFIX_DIR" >&5
3921 $as_echo_n "checking POSTFIX_DIR... " >&6; }
3922
3923 if test "$POSTFIX_DIR" != ""; then
3924 CppAD_POSTFIX_TRUE=
3925 CppAD_POSTFIX_FALSE='#'
3926 else
3927 CppAD_POSTFIX_TRUE='#'
3928 CppAD_POSTFIX_FALSE=
3929 fi
3930
3931 if test "$POSTFIX_DIR" != "" ; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POSTFIX_DIR" >&5
3933 $as_echo "$POSTFIX_DIR" >&6; }
3934 else
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3937 fi
3938
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ADOLC_DIR" >&5
3940 $as_echo_n "checking ADOLC_DIR... " >&6; }
3941
3942 if test "$ADOLC_DIR" != ""; then
3943 CppAD_ADOLC_TRUE=
3944 CppAD_ADOLC_FALSE='#'
3945 else
3946 CppAD_ADOLC_TRUE='#'
3947 CppAD_ADOLC_FALSE=
3948 fi
3949
3950 if test "$ADOLC_DIR" != "" ; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ADOLC_DIR" >&5
3952 $as_echo "$ADOLC_DIR" >&6; }
3953 if test "$have_ar" = "no"; then
3954 as_fn_error $? "ar is missing and ADOLC_DIR is present" "$LINENO" 5
3955 fi
3956 else
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3959 fi
3960
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EIGEN_DIR" >&5
3962 $as_echo_n "checking EIGEN_DIR... " >&6; }
3963
3964 if test "$EIGEN_DIR" != ""; then
3965 CppAD_EIGEN_DIR_TRUE=
3966 CppAD_EIGEN_DIR_FALSE='#'
3967 else
3968 CppAD_EIGEN_DIR_TRUE='#'
3969 CppAD_EIGEN_DIR_FALSE=
3970 fi
3971
3972 if test "$EIGEN_DIR" != "" ; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EIGEN_DIR" >&5
3974 $as_echo "$EIGEN_DIR" >&6; }
3975 EIGEN_INCLUDE=-I$EIGEN_DIR/include
3976
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3980
3981 fi
3982
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FADBAD_DIR" >&5
3984 $as_echo_n "checking FADBAD_DIR... " >&6; }
3985
3986 if test "$FADBAD_DIR" != ""; then
3987 CppAD_FADBAD_TRUE=
3988 CppAD_FADBAD_FALSE='#'
3989 else
3990 CppAD_FADBAD_TRUE='#'
3991 CppAD_FADBAD_FALSE=
3992 fi
3993
3994 if test "$FADBAD_DIR" != "" ; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FADBAD_DIR" >&5
3996 $as_echo "$FADBAD_DIR" >&6; }
3997 if test "$have_ar" = "no"; then
3998 as_fn_error $? "ar is missing and FADBAD_DIR is present" "$LINENO" 5
3999 fi
4000 else
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4003 fi
4004
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SACADO_DIR" >&5
4006 $as_echo_n "checking SACADO_DIR... " >&6; }
4007
4008 if test "$SACADO_DIR" != ""; then
4009 CppAD_SACADO_TRUE=
4010 CppAD_SACADO_FALSE='#'
4011 else
4012 CppAD_SACADO_TRUE='#'
4013 CppAD_SACADO_FALSE=
4014 fi
4015
4016 if test "$SACADO_DIR" != "" ; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SACADO_DIR" >&5
4018 $as_echo "$SACADO_DIR" >&6; }
4019 if test "$have_ar" = "no"; then
4020 as_fn_error $? "ar is missing and SACADO_DIR is present" "$LINENO" 5
4021 fi
4022 else
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4025 fi
4026
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking IPOPT_DIR" >&5
4028 $as_echo_n "checking IPOPT_DIR... " >&6; }
4029
4030 if test "$IPOPT_DIR" != ""; then
4031 CppAD_IPOPT_TRUE=
4032 CppAD_IPOPT_FALSE='#'
4033 else
4034 CppAD_IPOPT_TRUE='#'
4035 CppAD_IPOPT_FALSE=
4036 fi
4037
4038 if test "$IPOPT_DIR" != "" ; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPOPT_DIR" >&5
4040 $as_echo "$IPOPT_DIR" >&6; }
4041 if test "$have_ar" = "no"; then
4042 as_fn_error $? "ar is missing and IPOPT_DIR is present" "$LINENO" 5
4043 fi
4044 else
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4047 fi
4048
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking BOOST_DIR" >&5
4050 $as_echo_n "checking BOOST_DIR... " >&6; }
4051
4052 if test "$BOOST_DIR" != ""; then
4053 CppAD_BOOST_DIR_TRUE=
4054 CppAD_BOOST_DIR_FALSE='#'
4055 else
4056 CppAD_BOOST_DIR_TRUE='#'
4057 CppAD_BOOST_DIR_FALSE=
4058 fi
4059
4060 if test "$BOOST_DIR" != "" ; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOST_DIR" >&5
4062 $as_echo "$BOOST_DIR" >&6; }
4063 BOOST_INCLUDE=-I$BOOST_DIR/include
4064
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4068
4069 fi
4070
4071 #
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXX_FLAGS" >&5
4073 $as_echo_n "checking CXX_FLAGS... " >&6; }
4074
4075 # cxx_flags for fadbad and eigen
4076 if test "$CXX_FLAGS" != "" ; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FLAGS" >&5
4078 $as_echo "$CXX_FLAGS" >&6; }
4079 cxx_flags_fadbad=`echo "$CXX_FLAGS" | sed -e 's|-Wshadow||'`
4080 cxx_flags_eigen="$cxx_flags_fadbda -Wno-long-long"
4081 else
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4084 cxx_flags_fadbad=""
4085 cxx_flags_eigen=""
4086 fi
4087 CXX_FLAGS_FADBAD="$cxx_flags_fadbad"
4088
4089 CXX_FLAGS_EIGEN="$cxx_flags_eigen"
4090
4091
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENMP_FLAGS" >&5
4093 $as_echo_n "checking OPENMP_FLAGS... " >&6; }
4094
4095 if test "$OPENMP_FLAGS" != "" ; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENMP_FLAGS" >&5
4097 $as_echo "$OPENMP_FLAGS" >&6; }
4098 else
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4101 fi
4102 if test "$OPENMP_FLAGS" != ""; then
4103 CppAD_OPENMP_TRUE=
4104 CppAD_OPENMP_FALSE='#'
4105 else
4106 CppAD_OPENMP_TRUE='#'
4107 CppAD_OPENMP_FALSE=
4108 fi
4109
4110
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MAX_NUM_THREADS" >&5
4112 $as_echo_n "checking MAX_NUM_THREADS... " >&6; }
4113
4114 if test "$MAX_NUM_THREADS" != "" ; then
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAX_NUM_THREADS" >&5
4116 $as_echo "$MAX_NUM_THREADS" >&6; }
4117 if test "$MAX_NUM_THREADS" -lt "4" ; then
4118 as_fn_error $? " MAX_NUM_THREADS=$MAX_NUM_THREADS is less than 4
4119 " "$LINENO" 5
4120 fi
4121 max_num_threads="$MAX_NUM_THREADS"
4122 else
4123 max_num_threads="48"
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using default value $max_num_threads" >&5
4125 $as_echo "no, using default value $max_num_threads" >&6; }
4126 fi
4127 cppad_max_num_threads=$max_num_threads
4128
4129
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking TAPE_ADDR_TYPE" >&5
4131 $as_echo_n "checking TAPE_ADDR_TYPE... " >&6; }
4132
4133 if test "$TAPE_ADDR_TYPE" == "" ; then
4134 addr_t="unsigned int"
4135 else
4136 addr_t="$TAPE_ADDR_TYPE"
4137 fi
4138 cppad_tape_addr_type=$addr_t
4139
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addr_t" >&5
4141 $as_echo "$addr_t" >&6; }
4142 ok="no"
4143 if test "$addr_t" == "size_t" ; then
4144 ok="yes"
4145 fi
4146 if test "$addr_t" == "int" ; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TAPE_ADDR_TYPE=int is for CppAD developers (not users)
4148 " >&5
4149 $as_echo "$as_me: WARNING: TAPE_ADDR_TYPE=int is for CppAD developers (not users)
4150 " >&2;}
4151 ok="yes"
4152 fi
4153 if test "$addr_t" == "unsigned int" ; then
4154 ok="yes"
4155 fi
4156 if test "$addr_t" == "unsigned short int" ; then
4157 ok="yes"
4158 fi
4159 if test "$ok" == "no" ; then
4160 as_fn_error $? "$addr_t is not a valid choice for TAPE_ADDR_TYPE
4161 " "$LINENO" 5
4162 fi
4163
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking TAPE_ID_TYPE" >&5
4165 $as_echo_n "checking TAPE_ID_TYPE... " >&6; }
4166
4167 if test "$TAPE_ID_TYPE" == "" ; then
4168 tape_id_t="unsigned int"
4169 else
4170 tape_id_t="$TAPE_ID_TYPE"
4171 fi
4172 cppad_tape_id_type=$tape_id_t
4173
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tape_id_t" >&5
4175 $as_echo "$tape_id_t" >&6; }
4176 ok="no"
4177 if test "$tape_id_t" == "size_t" ; then
4178 ok="yes"
4179 fi
4180 if test "$tape_id_t" == "int" ; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TAPE_ID_TYPE=int is for CppAD developers (not users)
4182 " >&5
4183 $as_echo "$as_me: WARNING: TAPE_ID_TYPE=int is for CppAD developers (not users)
4184 " >&2;}
4185 ok="yes"
4186 fi
4187 if test "$tape_id_t" == "unsigned int" ; then
4188 ok="yes"
4189 fi
4190 if test "$tape_id_t" == "unsigned short int" ; then
4191 ok="yes"
4192 fi
4193 if test "$ok" == "no" ; then
4194 as_fn_error $? "$tape_id_t is not a valid choice for TAPE_ID_TYPE
4195 " "$LINENO" 5
4196 fi
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: ********** End Checking Command Line arguments ***************" >&5
4198 $as_echo "$as_me: ********** End Checking Command Line arguments ***************" >&6;}
4199
4200 cppad_has_colpack=0
4201
4202
4203 cppad_has_nullptr=0
4204
4205 cppad_has_rvalue=0
4206
4207 cppad_has_cstdint_8_to_64=0
4208
4209 cppad_compiler_has_erf=0
4210
4211
4212 ac_ext=c
4213 ac_cpp='$CPP $CPPFLAGS'
4214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4218 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4219 # On Suns, sometimes $CPP names a directory.
4220 if test -n "$CPP" && test -d "$CPP"; then
4221 CPP=
4222 fi
4223 if test -z "$CPP"; then
4224 if ${ac_cv_prog_CPP+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 # Double quotes because CPP needs to be expanded
4228 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4229 do
4230 ac_preproc_ok=false
4231 for ac_c_preproc_warn_flag in '' yes
4232 do
4233 # Use a header file that comes with gcc, so configuring glibc
4234 # with a fresh cross-compiler works.
4235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4236 # <limits.h> exists even on freestanding compilers.
4237 # On the NeXT, cc -E runs the code through the compiler's parser,
4238 # not just through cpp. "Syntax error" is here to catch this case.
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4241 #ifdef __STDC__
4242 # include <limits.h>
4243 #else
4244 # include <assert.h>
4245 #endif
4246 Syntax error
4247 _ACEOF
4248 if ac_fn_c_try_cpp "$LINENO"; then :
4249
4250 else
4251 # Broken: fails on valid input.
4252 continue
4253 fi
4254 rm -f conftest.err conftest.i conftest.$ac_ext
4255
4256 # OK, works on sane cases. Now check whether nonexistent headers
4257 # can be detected and how.
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4260 #include <ac_nonexistent.h>
4261 _ACEOF
4262 if ac_fn_c_try_cpp "$LINENO"; then :
4263 # Broken: success on invalid input.
4264 continue
4265 else
4266 # Passes both tests.
4267 ac_preproc_ok=:
4268 break
4269 fi
4270 rm -f conftest.err conftest.i conftest.$ac_ext
4271
4272 done
4273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4274 rm -f conftest.i conftest.err conftest.$ac_ext
4275 if $ac_preproc_ok; then :
4276 break
4277 fi
4278
4279 done
4280 ac_cv_prog_CPP=$CPP
4281
4282 fi
4283 CPP=$ac_cv_prog_CPP
4284 else
4285 ac_cv_prog_CPP=$CPP
4286 fi
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4288 $as_echo "$CPP" >&6; }
4289 ac_preproc_ok=false
4290 for ac_c_preproc_warn_flag in '' yes
4291 do
4292 # Use a header file that comes with gcc, so configuring glibc
4293 # with a fresh cross-compiler works.
4294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4295 # <limits.h> exists even on freestanding compilers.
4296 # On the NeXT, cc -E runs the code through the compiler's parser,
4297 # not just through cpp. "Syntax error" is here to catch this case.
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300 #ifdef __STDC__
4301 # include <limits.h>
4302 #else
4303 # include <assert.h>
4304 #endif
4305 Syntax error
4306 _ACEOF
4307 if ac_fn_c_try_cpp "$LINENO"; then :
4308
4309 else
4310 # Broken: fails on valid input.
4311 continue
4312 fi
4313 rm -f conftest.err conftest.i conftest.$ac_ext
4314
4315 # OK, works on sane cases. Now check whether nonexistent headers
4316 # can be detected and how.
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319 #include <ac_nonexistent.h>
4320 _ACEOF
4321 if ac_fn_c_try_cpp "$LINENO"; then :
4322 # Broken: success on invalid input.
4323 continue
4324 else
4325 # Passes both tests.
4326 ac_preproc_ok=:
4327 break
4328 fi
4329 rm -f conftest.err conftest.i conftest.$ac_ext
4330
4331 done
4332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4333 rm -f conftest.i conftest.err conftest.$ac_ext
4334 if $ac_preproc_ok; then :
4335
4336 else
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4340 See \`config.log' for more details" "$LINENO" 5; }
4341 fi
4342
4343 ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
4349
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4351 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4352 if ${ac_cv_path_GREP+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 if test -z "$GREP"; then
4356 ac_path_GREP_found=false
4357 # Loop through the user's path and test for each of PROGNAME-LIST
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4360 do
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_prog in grep ggrep; do
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4366 as_fn_executable_p "$ac_path_GREP" || continue
4367 # Check for GNU ac_path_GREP and select it if it is found.
4368 # Check for GNU $ac_path_GREP
4369 case `"$ac_path_GREP" --version 2>&1` in
4370 *GNU*)
4371 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4372 *)
4373 ac_count=0
4374 $as_echo_n 0123456789 >"conftest.in"
4375 while :
4376 do
4377 cat "conftest.in" "conftest.in" >"conftest.tmp"
4378 mv "conftest.tmp" "conftest.in"
4379 cp "conftest.in" "conftest.nl"
4380 $as_echo 'GREP' >> "conftest.nl"
4381 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4382 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4383 as_fn_arith $ac_count + 1 && ac_count=$as_val
4384 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4385 # Best one so far, save it but keep looking for a better one
4386 ac_cv_path_GREP="$ac_path_GREP"
4387 ac_path_GREP_max=$ac_count
4388 fi
4389 # 10*(2^10) chars as input seems more than enough
4390 test $ac_count -gt 10 && break
4391 done
4392 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4393 esac
4394
4395 $ac_path_GREP_found && break 3
4396 done
4397 done
4398 done
4399 IFS=$as_save_IFS
4400 if test -z "$ac_cv_path_GREP"; then
4401 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4402 fi
4403 else
4404 ac_cv_path_GREP=$GREP
4405 fi
4406
4407 fi
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4409 $as_echo "$ac_cv_path_GREP" >&6; }
4410 GREP="$ac_cv_path_GREP"
4411
4412
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4414 $as_echo_n "checking for egrep... " >&6; }
4415 if ${ac_cv_path_EGREP+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4419 then ac_cv_path_EGREP="$GREP -E"
4420 else
4421 if test -z "$EGREP"; then
4422 ac_path_EGREP_found=false
4423 # Loop through the user's path and test for each of PROGNAME-LIST
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4426 do
4427 IFS=$as_save_IFS
4428 test -z "$as_dir" && as_dir=.
4429 for ac_prog in egrep; do
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4432 as_fn_executable_p "$ac_path_EGREP" || continue
4433 # Check for GNU ac_path_EGREP and select it if it is found.
4434 # Check for GNU $ac_path_EGREP
4435 case `"$ac_path_EGREP" --version 2>&1` in
4436 *GNU*)
4437 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4438 *)
4439 ac_count=0
4440 $as_echo_n 0123456789 >"conftest.in"
4441 while :
4442 do
4443 cat "conftest.in" "conftest.in" >"conftest.tmp"
4444 mv "conftest.tmp" "conftest.in"
4445 cp "conftest.in" "conftest.nl"
4446 $as_echo 'EGREP' >> "conftest.nl"
4447 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4448 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4449 as_fn_arith $ac_count + 1 && ac_count=$as_val
4450 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4451 # Best one so far, save it but keep looking for a better one
4452 ac_cv_path_EGREP="$ac_path_EGREP"
4453 ac_path_EGREP_max=$ac_count
4454 fi
4455 # 10*(2^10) chars as input seems more than enough
4456 test $ac_count -gt 10 && break
4457 done
4458 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4459 esac
4460
4461 $ac_path_EGREP_found && break 3
4462 done
4463 done
4464 done
4465 IFS=$as_save_IFS
4466 if test -z "$ac_cv_path_EGREP"; then
4467 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4468 fi
4469 else
4470 ac_cv_path_EGREP=$EGREP
4471 fi
4472
4473 fi
4474 fi
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4476 $as_echo "$ac_cv_path_EGREP" >&6; }
4477 EGREP="$ac_cv_path_EGREP"
4478
4479
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4481 $as_echo_n "checking for ANSI C header files... " >&6; }
4482 if ${ac_cv_header_stdc+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4487 #include <stdlib.h>
4488 #include <stdarg.h>
4489 #include <string.h>
4490 #include <float.h>
4491
4492 int
4493 main ()
4494 {
4495
4496 ;
4497 return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_header_stdc=yes
4502 else
4503 ac_cv_header_stdc=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506
4507 if test $ac_cv_header_stdc = yes; then
4508 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511 #include <string.h>
4512
4513 _ACEOF
4514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4515 $EGREP "memchr" >/dev/null 2>&1; then :
4516
4517 else
4518 ac_cv_header_stdc=no
4519 fi
4520 rm -f conftest*
4521
4522 fi
4523
4524 if test $ac_cv_header_stdc = yes; then
4525 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528 #include <stdlib.h>
4529
4530 _ACEOF
4531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4532 $EGREP "free" >/dev/null 2>&1; then :
4533
4534 else
4535 ac_cv_header_stdc=no
4536 fi
4537 rm -f conftest*
4538
4539 fi
4540
4541 if test $ac_cv_header_stdc = yes; then
4542 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4543 if test "$cross_compiling" = yes; then :
4544 :
4545 else
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4548 #include <ctype.h>
4549 #include <stdlib.h>
4550 #if ((' ' & 0x0FF) == 0x020)
4551 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4552 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4553 #else
4554 # define ISLOWER(c) \
4555 (('a' <= (c) && (c) <= 'i') \
4556 || ('j' <= (c) && (c) <= 'r') \
4557 || ('s' <= (c) && (c) <= 'z'))
4558 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4559 #endif
4560
4561 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4562 int
4563 main ()
4564 {
4565 int i;
4566 for (i = 0; i < 256; i++)
4567 if (XOR (islower (i), ISLOWER (i))
4568 || toupper (i) != TOUPPER (i))
4569 return 2;
4570 return 0;
4571 }
4572 _ACEOF
4573 if ac_fn_c_try_run "$LINENO"; then :
4574
4575 else
4576 ac_cv_header_stdc=no
4577 fi
4578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4579 conftest.$ac_objext conftest.beam conftest.$ac_ext
4580 fi
4581
4582 fi
4583 fi
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4585 $as_echo "$ac_cv_header_stdc" >&6; }
4586 if test $ac_cv_header_stdc = yes; then
4587
4588 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4589
4590 fi
4591
4592 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4593 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4594 inttypes.h stdint.h unistd.h
4595 do :
4596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4598 "
4599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4600 cat >>confdefs.h <<_ACEOF
4601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4602 _ACEOF
4603
4604 fi
4605
4606 done
4607
4608
4609 # The cast to long int works around a bug in the HP C Compiler
4610 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4611 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4612 # This bug is HP SR number 8606223364.
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
4614 $as_echo_n "checking size of size_t... " >&6; }
4615 if ${ac_cv_sizeof_size_t+:} false; then :
4616 $as_echo_n "(cached) " >&6
4617 else
4618 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
4619
4620 else
4621 if test "$ac_cv_type_size_t" = yes; then
4622 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4624 as_fn_error 77 "cannot compute sizeof (size_t)
4625 See \`config.log' for more details" "$LINENO" 5; }
4626 else
4627 ac_cv_sizeof_size_t=0
4628 fi
4629 fi
4630
4631 fi
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
4633 $as_echo "$ac_cv_sizeof_size_t" >&6; }
4634
4635
4636
4637 cat >>confdefs.h <<_ACEOF
4638 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
4639 _ACEOF
4640
4641
4642 # The cast to long int works around a bug in the HP C Compiler
4643 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4644 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4645 # This bug is HP SR number 8606223364.
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
4647 $as_echo_n "checking size of unsigned int... " >&6; }
4648 if ${ac_cv_sizeof_unsigned_int+:} false; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
4652
4653 else
4654 if test "$ac_cv_type_unsigned_int" = yes; then
4655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4657 as_fn_error 77 "cannot compute sizeof (unsigned int)
4658 See \`config.log' for more details" "$LINENO" 5; }
4659 else
4660 ac_cv_sizeof_unsigned_int=0
4661 fi
4662 fi
4663
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4666 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4667
4668
4669
4670 cat >>confdefs.h <<_ACEOF
4671 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4672 _ACEOF
4673
4674
4675 if test "$ac_cv_sizeof_size_t" != "$ac_cv_sizeof_unsigned_int" ; then
4676 cppad_size_t_not_unsigned_int=1
4677
4678 else
4679 cppad_size_t_not_unsigned_int=0
4680
4681 fi
4682
4683 if test "$stdvector$boostvector$eigenvector" = "nonono" ; then
4684 cppad_cppadvector=1
4685
4686 else
4687 cppad_cppadvector=0
4688
4689 fi
4690
4691 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
4692 if test "x$ac_cv_func_gettimeofday" = xyes; then :
4693 gettimeofday="yes"
4694 else
4695 gettimeofday="no"
4696
4697 fi
4698
4699 if test "$gettimeofday" = "yes" ; then
4700 cppad_has_gettimeofday=1
4701
4702 else
4703 cppad_has_gettimeofday=0
4704
4705 fi
4706
47072651 am__api_version='1.13'
47082652
47092653 ac_aux_dir=
49052849 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
49062850 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
49072851
2852 # expand $ac_aux_dir to an absolute path
2853 am_aux_dir=`cd $ac_aux_dir && pwd`
2854
49082855 if test x"${MISSING+set}" != xset; then
49092856 case $am_aux_dir in
49102857 *\ * | *\ *)
51553102 fi
51563103 rmdir .tst 2>/dev/null
51573104
3105 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3106 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3107 # is not polluted with repeated "-I."
3108 am__isrc=' -I$(srcdir)'
3109 # test to see if srcdir already configured
3110 if test -f $srcdir/config.status; then
3111 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3112 fi
3113 fi
3114
3115 # test whether we have cygpath
3116 if test -z "$CYGPATH_W"; then
3117 if (cygpath --version) >/dev/null 2>/dev/null; then
3118 CYGPATH_W='cygpath -w'
3119 else
3120 CYGPATH_W=echo
3121 fi
3122 fi
3123
3124
3125 # Define the identity of the package.
3126 PACKAGE='cppad'
3127 VERSION='20150000.9'
3128
3129
3130 cat >>confdefs.h <<_ACEOF
3131 #define PACKAGE "$PACKAGE"
3132 _ACEOF
3133
3134
3135 cat >>confdefs.h <<_ACEOF
3136 #define VERSION "$VERSION"
3137 _ACEOF
3138
3139 # Some tools Automake needs.
3140
3141 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3142
3143
3144 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3145
3146
3147 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3148
3149
3150 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3151
3152
3153 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3154
3155 # For better backward compatibility. To be removed once Automake 1.9.x
3156 # dies out for good. For more background, see:
3157 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3158 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3159 mkdir_p='$(MKDIR_P)'
3160
3161 # We need awk for the "check" target. The system "awk" is bad on
3162 # some platforms.
3163 # Always define AMTAR for backward compatibility. Yes, it's still used
3164 # in the wild :-( We should find a proper way to deprecate it ...
3165 AMTAR='$${TAR-tar}'
3166
3167
3168 # We'll loop over all known methods to create a tar archive until one works.
3169 _am_tools='gnutar pax cpio none'
3170
3171 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3172
3173
3174
3175
3176
3177
3178
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: *** Check command line arguments that are longer used ****" >&5
3180 $as_echo "$as_me: *** Check command line arguments that are longer used ****" >&6;}
3181
3182 if test "$CPP_ERROR_WARN" != "" ; then
3183 as_fn_error $? "The CPP_ERROR_WARN configure option is now CXX_FLAGS" "$LINENO" 5
3184 fi
3185
3186 # Check whether --with-SpeedExample was given.
3187 if test "${with_SpeedExample+set}" = set; then :
3188 withval=$with_SpeedExample; SpeedExample="yes"
3189 else
3190 SpeedExample="no"
3191
3192 fi
3193
3194 if test "$SpeedExample" = "yes" ; then
3195 as_fn_error $? "--with-SpeedExample not necessary, see install instructions." "$LINENO" 5
3196 fi
3197
3198 # Check whether --with-profiling was given.
3199 if test "${with_profiling+set}" = set; then :
3200 withval=$with_profiling; profiling="yes"
3201 else
3202 profiling="no"
3203
3204 fi
3205
3206 if test "$profiling" = "yes" ; then
3207 as_fn_error $? "--with-profiling not necessary, see install instructions." "$LINENO" 5
3208 fi
3209
3210 # Check whether --with-Speed was given.
3211 if test "${with_Speed+set}" = set; then :
3212 withval=$with_Speed; Speed="yes"
3213 else
3214 Speed="no"
3215
3216 fi
3217
3218 if test "$Speed" = "yes" ; then
3219 as_fn_error $? "--with-Speed not necessary, see install instructions." "$LINENO" 5
3220 fi
3221
3222 # Check whether --with-Introduction was given.
3223 if test "${with_Introduction+set}" = set; then :
3224 withval=$with_Introduction; Introduction="yes"
3225 else
3226 Introduction="no"
3227
3228 fi
3229
3230 if test "$Introduction" = "yes" ; then
3231 as_fn_error $? "--with-Introduction not necessary, see install instructions." "$LINENO" 5
3232 fi
3233
3234 # Check whether --with-Example was given.
3235 if test "${with_Example+set}" = set; then :
3236 withval=$with_Example; Example="yes"
3237 else
3238 Example="no"
3239
3240 fi
3241
3242 if test "$Example" = "yes" ; then
3243 as_fn_error $? "--with-Example not necessary, see install instructions." "$LINENO" 5
3244 fi
3245
3246 # Check whether --with-TestMore was given.
3247 if test "${with_TestMore+set}" = set; then :
3248 withval=$with_TestMore; TestMore="yes"
3249 else
3250 TestMore="no"
3251
3252 fi
3253
3254 if test "$TestMore" = "yes" ; then
3255 as_fn_error $? "--with-TestMore not necessary, see install instructions." "$LINENO" 5
3256 fi
3257
3258 # Check whether --with-PrintFor was given.
3259 if test "${with_PrintFor+set}" = set; then :
3260 withval=$with_PrintFor; PrintFor="yes"
3261 else
3262 PrintFor="no"
3263
3264 fi
3265
3266 if test "$PrintFor" = "yes" ; then
3267 as_fn_error $? "--with-PrintFor not necessary, see install instructions." "$LINENO" 5
3268 fi
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: ****** Check command line arguments that are used ***********" >&5
3270 $as_echo "$as_me: ****** Check command line arguments that are used ***********" >&6;}
3271
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-msvc" >&5
3273 $as_echo_n "checking --enable-msvc... " >&6; }
3274 # Check whether --enable-msvc was given.
3275 if test "${enable_msvc+set}" = set; then :
3276 enableval=$enable_msvc; enable_msvc=$enableval
3277 else
3278 enable_msvc=no
3279
3280 fi
3281
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_msvc" >&5
3283 $as_echo "$enable_msvc" >&6; }
3284
3285
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --prefix" >&5
3287 $as_echo_n "checking --prefix... " >&6; }
3288 if test "$prefix" = "NONE" ; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOME" >&5
3290 $as_echo "$HOME" >&6; }
3291 else
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
3293 $as_echo "$prefix" >&6; }
3294 fi
3295
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-Documentation" >&5
3297 $as_echo_n "checking --with-Documentation... " >&6; }
3298
3299 # Check whether --with-Documentation was given.
3300 if test "${with_Documentation+set}" = set; then :
3301 withval=$with_Documentation; Documentation="yes"
3302 else
3303 Documentation="no"
3304
3305 fi
3306
3307 if test "$Documentation" = "yes"; then
3308 CppAD_DOCUMENTATION_TRUE=
3309 CppAD_DOCUMENTATION_FALSE='#'
3310 else
3311 CppAD_DOCUMENTATION_TRUE='#'
3312 CppAD_DOCUMENTATION_FALSE=
3313 fi
3314
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $Documentation" >&5
3316 $as_echo "$Documentation" >&6; }
3317
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-stdvector" >&5
3319 $as_echo_n "checking --with-stdvector... " >&6; }
3320
3321 # Check whether --with-stdvector was given.
3322 if test "${with_stdvector+set}" = set; then :
3323 withval=$with_stdvector; stdvector="yes"
3324 else
3325 stdvector="no"
3326
3327 fi
3328
3329 if test "$stdvector" = "yes" ; then
3330 cppad_stdvector=1
3331
3332 else
3333 cppad_stdvector=0
3334
3335 fi
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stdvector" >&5
3337 $as_echo "$stdvector" >&6; }
3338
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-boostvector" >&5
3340 $as_echo_n "checking --with-boostvector... " >&6; }
3341
3342 # Check whether --with-boostvector was given.
3343 if test "${with_boostvector+set}" = set; then :
3344 withval=$with_boostvector; boostvector="yes"
3345 else
3346 boostvector="no"
3347
3348 fi
3349
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boostvector" >&5
3351 $as_echo "$boostvector" >&6; }
3352 if test "$boostvector" = "yes" ; then
3353 if test "$stdvector" != "no" ; then
3354 as_fn_error $? "cannot --with both stdvector and boostvector" "$LINENO" 5
3355 fi
3356 cppad_boostvector=1
3357
3358 else
3359 cppad_boostvector=0
3360
3361 fi
3362
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-eigenvector" >&5
3364 $as_echo_n "checking --with-eigenvector... " >&6; }
3365
3366 # Check whether --with-eigenvector was given.
3367 if test "${with_eigenvector+set}" = set; then :
3368 withval=$with_eigenvector; eigenvector="yes"
3369 else
3370 eigenvector="no"
3371
3372 fi
3373
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $eigenvector" >&5
3375 $as_echo "$eigenvector" >&6; }
3376 if test "$eigenvector" = "yes" ; then
3377 if test "$stdvector" != "no" ; then
3378 as_fn_error $? "cannot --with both stdvector and eigenvector" "$LINENO" 5
3379 fi
3380 if test "$boostvector" != "no" ; then
3381 as_fn_error $? "cannot --with both boostvector and eigenvector" "$LINENO" 5
3382 fi
3383 cppad_eigenvector=1
3384
3385 else
3386 cppad_eigenvector=0
3387
3388 fi
3389
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-sparse_set" >&5
3391 $as_echo_n "checking --with-sparse_set... " >&6; }
3392
3393 # Check whether --with-sparse_set was given.
3394 if test "${with_sparse_set+set}" = set; then :
3395 withval=$with_sparse_set; sparse_set="yes"
3396 else
3397 sparse_set="no"
3398
3399 fi
3400
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sparse_set" >&5
3402 $as_echo "$sparse_set" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-sparse_list" >&5
3404 $as_echo_n "checking --with-sparse_list... " >&6; }
3405
3406 # Check whether --with-sparse_list was given.
3407 if test "${with_sparse_list+set}" = set; then :
3408 withval=$with_sparse_list; sparse_list="yes"
3409 else
3410 sparse_list="no"
3411
3412 fi
3413
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sparse_list" >&5
3415 $as_echo "$sparse_list" >&6; }
3416 if test "$sparse_set" = "yes" ; then
3417 if test "$sparse_list" == "yes" ; then
3418 as_fn_error $? "cannot --with both sparse_set and sparse_list" "$LINENO" 5
3419 fi
3420 cppad_internal_sparse_set=sparse_set
3421
3422 else
3423 cppad_internal_sparse_set=sparse_list
3424
3425 fi
3426
3427
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-implicit_ctor" >&5
3429 $as_echo_n "checking --with-implicit_ctor... " >&6; }
3430
3431 # Check whether --with-implicit_ctor was given.
3432 if test "${with_implicit_ctor+set}" = set; then :
3433 withval=$with_implicit_ctor; implicit_ctor="yes"
3434 else
3435 implicit_ctor="no"
3436
3437 fi
3438
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $implicit_ctor" >&5
3440 $as_echo "$implicit_ctor" >&6; }
3441 if test "$implicit_ctor" = "yes" ; then
3442 cppad_implicit_ctor_from_any_type="1"
3443
3444 else
3445 cppad_implicit_ctor_from_any_type="0"
3446
3447 fi
3448
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSTFIX_DIR" >&5
3450 $as_echo_n "checking POSTFIX_DIR... " >&6; }
3451
3452 if test "$POSTFIX_DIR" != ""; then
3453 CppAD_POSTFIX_TRUE=
3454 CppAD_POSTFIX_FALSE='#'
3455 else
3456 CppAD_POSTFIX_TRUE='#'
3457 CppAD_POSTFIX_FALSE=
3458 fi
3459
3460 if test "$POSTFIX_DIR" != "" ; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POSTFIX_DIR" >&5
3462 $as_echo "$POSTFIX_DIR" >&6; }
3463 else
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3466 fi
3467
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ADOLC_DIR" >&5
3469 $as_echo_n "checking ADOLC_DIR... " >&6; }
3470
3471 if test "$ADOLC_DIR" != ""; then
3472 CppAD_ADOLC_TRUE=
3473 CppAD_ADOLC_FALSE='#'
3474 else
3475 CppAD_ADOLC_TRUE='#'
3476 CppAD_ADOLC_FALSE=
3477 fi
3478
3479 if test "$ADOLC_DIR" != "" ; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ADOLC_DIR" >&5
3481 $as_echo "$ADOLC_DIR" >&6; }
3482 if test "$have_ar" = "no"; then
3483 as_fn_error $? "ar is missing and ADOLC_DIR is present" "$LINENO" 5
3484 fi
3485 else
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3488 fi
3489
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EIGEN_DIR" >&5
3491 $as_echo_n "checking EIGEN_DIR... " >&6; }
3492
3493 if test "$EIGEN_DIR" != ""; then
3494 CppAD_EIGEN_DIR_TRUE=
3495 CppAD_EIGEN_DIR_FALSE='#'
3496 else
3497 CppAD_EIGEN_DIR_TRUE='#'
3498 CppAD_EIGEN_DIR_FALSE=
3499 fi
3500
3501 if test "$EIGEN_DIR" != "" ; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EIGEN_DIR" >&5
3503 $as_echo "$EIGEN_DIR" >&6; }
3504 EIGEN_INCLUDE=-I$EIGEN_DIR/include
3505
3506 else
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3509
3510 fi
3511
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FADBAD_DIR" >&5
3513 $as_echo_n "checking FADBAD_DIR... " >&6; }
3514
3515 if test "$FADBAD_DIR" != ""; then
3516 CppAD_FADBAD_TRUE=
3517 CppAD_FADBAD_FALSE='#'
3518 else
3519 CppAD_FADBAD_TRUE='#'
3520 CppAD_FADBAD_FALSE=
3521 fi
3522
3523 if test "$FADBAD_DIR" != "" ; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FADBAD_DIR" >&5
3525 $as_echo "$FADBAD_DIR" >&6; }
3526 if test "$have_ar" = "no"; then
3527 as_fn_error $? "ar is missing and FADBAD_DIR is present" "$LINENO" 5
3528 fi
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 fi
3533
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SACADO_DIR" >&5
3535 $as_echo_n "checking SACADO_DIR... " >&6; }
3536
3537 if test "$SACADO_DIR" != ""; then
3538 CppAD_SACADO_TRUE=
3539 CppAD_SACADO_FALSE='#'
3540 else
3541 CppAD_SACADO_TRUE='#'
3542 CppAD_SACADO_FALSE=
3543 fi
3544
3545 if test "$SACADO_DIR" != "" ; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SACADO_DIR" >&5
3547 $as_echo "$SACADO_DIR" >&6; }
3548 if test "$have_ar" = "no"; then
3549 as_fn_error $? "ar is missing and SACADO_DIR is present" "$LINENO" 5
3550 fi
3551 else
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3554 fi
3555
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking IPOPT_DIR" >&5
3557 $as_echo_n "checking IPOPT_DIR... " >&6; }
3558
3559 if test "$IPOPT_DIR" != ""; then
3560 CppAD_IPOPT_TRUE=
3561 CppAD_IPOPT_FALSE='#'
3562 else
3563 CppAD_IPOPT_TRUE='#'
3564 CppAD_IPOPT_FALSE=
3565 fi
3566
3567 if test "$IPOPT_DIR" != "" ; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPOPT_DIR" >&5
3569 $as_echo "$IPOPT_DIR" >&6; }
3570 if test "$have_ar" = "no"; then
3571 as_fn_error $? "ar is missing and IPOPT_DIR is present" "$LINENO" 5
3572 fi
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3576 fi
3577
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking BOOST_DIR" >&5
3579 $as_echo_n "checking BOOST_DIR... " >&6; }
3580
3581 if test "$BOOST_DIR" != ""; then
3582 CppAD_BOOST_DIR_TRUE=
3583 CppAD_BOOST_DIR_FALSE='#'
3584 else
3585 CppAD_BOOST_DIR_TRUE='#'
3586 CppAD_BOOST_DIR_FALSE=
3587 fi
3588
3589 if test "$BOOST_DIR" != "" ; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOST_DIR" >&5
3591 $as_echo "$BOOST_DIR" >&6; }
3592 BOOST_INCLUDE=-I$BOOST_DIR/include
3593
3594 else
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3597
3598 fi
3599
3600 #
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXX_FLAGS" >&5
3602 $as_echo_n "checking CXX_FLAGS... " >&6; }
3603
3604 # cxx_flags for fadbad and eigen
3605 if test "$CXX_FLAGS" != "" ; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FLAGS" >&5
3607 $as_echo "$CXX_FLAGS" >&6; }
3608 cxx_flags_fadbad=`echo "$CXX_FLAGS" | sed -e 's|-Wshadow||'`
3609 cxx_flags_eigen="$cxx_flags_fadbda -Wno-long-long"
3610 else
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3613 cxx_flags_fadbad=""
3614 cxx_flags_eigen=""
3615 fi
3616 CXX_FLAGS_FADBAD="$cxx_flags_fadbad"
3617
3618 CXX_FLAGS_EIGEN="$cxx_flags_eigen"
3619
3620
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENMP_FLAGS" >&5
3622 $as_echo_n "checking OPENMP_FLAGS... " >&6; }
3623
3624 if test "$OPENMP_FLAGS" != "" ; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENMP_FLAGS" >&5
3626 $as_echo "$OPENMP_FLAGS" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3630 fi
3631 if test "$OPENMP_FLAGS" != ""; then
3632 CppAD_OPENMP_TRUE=
3633 CppAD_OPENMP_FALSE='#'
3634 else
3635 CppAD_OPENMP_TRUE='#'
3636 CppAD_OPENMP_FALSE=
3637 fi
3638
3639
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MAX_NUM_THREADS" >&5
3641 $as_echo_n "checking MAX_NUM_THREADS... " >&6; }
3642
3643 if test "$MAX_NUM_THREADS" != "" ; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAX_NUM_THREADS" >&5
3645 $as_echo "$MAX_NUM_THREADS" >&6; }
3646 if test "$MAX_NUM_THREADS" -lt "4" ; then
3647 as_fn_error $? " MAX_NUM_THREADS=$MAX_NUM_THREADS is less than 4
3648 " "$LINENO" 5
3649 fi
3650 max_num_threads="$MAX_NUM_THREADS"
3651 else
3652 max_num_threads="48"
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using default value $max_num_threads" >&5
3654 $as_echo "no, using default value $max_num_threads" >&6; }
3655 fi
3656 cppad_max_num_threads=$max_num_threads
3657
3658
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking TAPE_ADDR_TYPE" >&5
3660 $as_echo_n "checking TAPE_ADDR_TYPE... " >&6; }
3661
3662 if test "$TAPE_ADDR_TYPE" == "" ; then
3663 addr_t="unsigned int"
3664 else
3665 addr_t="$TAPE_ADDR_TYPE"
3666 fi
3667 cppad_tape_addr_type=$addr_t
3668
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addr_t" >&5
3670 $as_echo "$addr_t" >&6; }
3671 ok="no"
3672 if test "$addr_t" == "size_t" ; then
3673 ok="yes"
3674 fi
3675 if test "$addr_t" == "int" ; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TAPE_ADDR_TYPE=int is for CppAD developers (not users)
3677 " >&5
3678 $as_echo "$as_me: WARNING: TAPE_ADDR_TYPE=int is for CppAD developers (not users)
3679 " >&2;}
3680 ok="yes"
3681 fi
3682 if test "$addr_t" == "unsigned int" ; then
3683 ok="yes"
3684 fi
3685 if test "$addr_t" == "unsigned short int" ; then
3686 ok="yes"
3687 fi
3688 if test "$ok" == "no" ; then
3689 as_fn_error $? "$addr_t is not a valid choice for TAPE_ADDR_TYPE
3690 " "$LINENO" 5
3691 fi
3692
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking TAPE_ID_TYPE" >&5
3694 $as_echo_n "checking TAPE_ID_TYPE... " >&6; }
3695
3696 if test "$TAPE_ID_TYPE" == "" ; then
3697 tape_id_t="unsigned int"
3698 else
3699 tape_id_t="$TAPE_ID_TYPE"
3700 fi
3701 cppad_tape_id_type=$tape_id_t
3702
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tape_id_t" >&5
3704 $as_echo "$tape_id_t" >&6; }
3705 ok="no"
3706 if test "$tape_id_t" == "size_t" ; then
3707 ok="yes"
3708 fi
3709 if test "$tape_id_t" == "int" ; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TAPE_ID_TYPE=int is for CppAD developers (not users)
3711 " >&5
3712 $as_echo "$as_me: WARNING: TAPE_ID_TYPE=int is for CppAD developers (not users)
3713 " >&2;}
3714 ok="yes"
3715 fi
3716 if test "$tape_id_t" == "unsigned int" ; then
3717 ok="yes"
3718 fi
3719 if test "$tape_id_t" == "unsigned short int" ; then
3720 ok="yes"
3721 fi
3722 if test "$ok" == "no" ; then
3723 as_fn_error $? "$tape_id_t is not a valid choice for TAPE_ID_TYPE
3724 " "$LINENO" 5
3725 fi
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: ********** End Checking Command Line arguments ***************" >&5
3727 $as_echo "$as_me: ********** End Checking Command Line arguments ***************" >&6;}
3728
3729 if test "$enable_msvc" == "no"
3730 then
3731 cxx_list="g++ clang++ CC pgCC icpc gpp cxx cc++"
3732 cc_list="gcc clang cc pgcc icc"
3733 fc_list="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77"
3734 else
3735 cxx_list="icl cl g++"
3736 cc_list="icl cl gcc"
3737 fc_list="ifort gfortran"
3738 fi
3739
3740 ac_ext=cpp
3741 ac_cpp='$CXXCPP $CPPFLAGS'
3742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3745 if test -z "$CXX"; then
3746 if test -n "$CCC"; then
3747 CXX=$CCC
3748 else
3749 if test -n "$ac_tool_prefix"; then
3750 for ac_prog in $cxx_list
3751 do
3752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if ${ac_cv_prog_CXX+:} false; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test -n "$CXX"; then
3760 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3764 do
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3769 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3772 fi
3773 done
3774 done
3775 IFS=$as_save_IFS
3776
3777 fi
3778 fi
3779 CXX=$ac_cv_prog_CXX
3780 if test -n "$CXX"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3782 $as_echo "$CXX" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3786 fi
3787
3788
3789 test -n "$CXX" && break
3790 done
3791 fi
3792 if test -z "$CXX"; then
3793 ac_ct_CXX=$CXX
3794 for ac_prog in $cxx_list
3795 do
3796 # Extract the first word of "$ac_prog", so it can be a program name with args.
3797 set dummy $ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$ac_ct_CXX"; then
3804 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3808 do
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_ac_ct_CXX="$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3816 fi
3817 done
3818 done
3819 IFS=$as_save_IFS
3820
3821 fi
3822 fi
3823 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3824 if test -n "$ac_ct_CXX"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3826 $as_echo "$ac_ct_CXX" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3830 fi
3831
3832
3833 test -n "$ac_ct_CXX" && break
3834 done
3835
3836 if test "x$ac_ct_CXX" = x; then
3837 CXX="g++"
3838 else
3839 case $cross_compiling:$ac_tool_warned in
3840 yes:)
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3843 ac_tool_warned=yes ;;
3844 esac
3845 CXX=$ac_ct_CXX
3846 fi
3847 fi
3848
3849 fi
3850 fi
3851 # Provide some information about the compiler.
3852 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3853 set X $ac_compile
3854 ac_compiler=$2
3855 for ac_option in --version -v -V -qversion; do
3856 { { ac_try="$ac_compiler $ac_option >&5"
3857 case "(($ac_try" in
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3860 esac
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862 $as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3864 ac_status=$?
3865 if test -s conftest.err; then
3866 sed '10a\
3867 ... rest of stderr output deleted ...
3868 10q' conftest.err >conftest.er1
3869 cat conftest.er1 >&5
3870 fi
3871 rm -f conftest.er1 conftest.err
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }
3874 done
3875
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3878
3879 int
3880 main ()
3881 {
3882
3883 ;
3884 return 0;
3885 }
3886 _ACEOF
3887 ac_clean_files_save=$ac_clean_files
3888 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3889 # Try to create an executable without -o first, disregard a.out.
3890 # It will help us diagnose broken compilers, and finding out an intuition
3891 # of exeext.
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3893 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3894 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3895
3896 # The possible output files:
3897 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3898
3899 ac_rmfiles=
3900 for ac_file in $ac_files
3901 do
3902 case $ac_file in
3903 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3904 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3905 esac
3906 done
3907 rm -f $ac_rmfiles
3908
3909 if { { ac_try="$ac_link_default"
3910 case "(($ac_try" in
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3913 esac
3914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3915 $as_echo "$ac_try_echo"; } >&5
3916 (eval "$ac_link_default") 2>&5
3917 ac_status=$?
3918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 test $ac_status = 0; }; then :
3920 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3921 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3922 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3923 # so that the user can short-circuit this test for compilers unknown to
3924 # Autoconf.
3925 for ac_file in $ac_files ''
3926 do
3927 test -f "$ac_file" || continue
3928 case $ac_file in
3929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3930 ;;
3931 [ab].out )
3932 # We found the default executable, but exeext='' is most
3933 # certainly right.
3934 break;;
3935 *.* )
3936 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3937 then :; else
3938 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3939 fi
3940 # We set ac_cv_exeext here because the later test for it is not
3941 # safe: cross compilers may not add the suffix if given an `-o'
3942 # argument, so we may need to know it at that point already.
3943 # Even if this section looks crufty: it has the advantage of
3944 # actually working.
3945 break;;
3946 * )
3947 break;;
3948 esac
3949 done
3950 test "$ac_cv_exeext" = no && ac_cv_exeext=
3951
3952 else
3953 ac_file=''
3954 fi
3955 if test -z "$ac_file"; then :
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3958 $as_echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.$ac_ext >&5
3960
3961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3963 as_fn_error 77 "C++ compiler cannot create executables
3964 See \`config.log' for more details" "$LINENO" 5; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3967 $as_echo "yes" >&6; }
3968 fi
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3970 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3972 $as_echo "$ac_file" >&6; }
3973 ac_exeext=$ac_cv_exeext
3974
3975 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3976 ac_clean_files=$ac_clean_files_save
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3978 $as_echo_n "checking for suffix of executables... " >&6; }
3979 if { { ac_try="$ac_link"
3980 case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3983 esac
3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986 (eval "$ac_link") 2>&5
3987 ac_status=$?
3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989 test $ac_status = 0; }; then :
3990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3992 # work properly (i.e., refer to `conftest.exe'), while it won't with
3993 # `rm'.
3994 for ac_file in conftest.exe conftest conftest.*; do
3995 test -f "$ac_file" || continue
3996 case $ac_file in
3997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3998 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3999 break;;
4000 * ) break;;
4001 esac
4002 done
4003 else
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4007 See \`config.log' for more details" "$LINENO" 5; }
4008 fi
4009 rm -f conftest conftest$ac_cv_exeext
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4011 $as_echo "$ac_cv_exeext" >&6; }
4012
4013 rm -f conftest.$ac_ext
4014 EXEEXT=$ac_cv_exeext
4015 ac_exeext=$EXEEXT
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4018 #include <stdio.h>
4019 int
4020 main ()
4021 {
4022 FILE *f = fopen ("conftest.out", "w");
4023 return ferror (f) || fclose (f) != 0;
4024
4025 ;
4026 return 0;
4027 }
4028 _ACEOF
4029 ac_clean_files="$ac_clean_files conftest.out"
4030 # Check that the compiler produces executables we can run. If not, either
4031 # the compiler is broken, or we cross compile.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 $as_echo_n "checking whether we are cross compiling... " >&6; }
4034 if test "$cross_compiling" != yes; then
4035 { { ac_try="$ac_link"
4036 case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 $as_echo "$ac_try_echo"; } >&5
4042 (eval "$ac_link") 2>&5
4043 ac_status=$?
4044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }
4046 if { ac_try='./conftest$ac_cv_exeext'
4047 { { case "(($ac_try" in
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4050 esac
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_try") 2>&5
4054 ac_status=$?
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; }; then
4057 cross_compiling=no
4058 else
4059 if test "$cross_compiling" = maybe; then
4060 cross_compiling=yes
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $? "cannot run C++ compiled programs.
4065 If you meant to cross compile, use \`--host'.
4066 See \`config.log' for more details" "$LINENO" 5; }
4067 fi
4068 fi
4069 fi
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4071 $as_echo "$cross_compiling" >&6; }
4072
4073 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4074 ac_clean_files=$ac_clean_files_save
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if ${ac_cv_objext+:} false; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082
4083 int
4084 main ()
4085 {
4086
4087 ;
4088 return 0;
4089 }
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4105 case $ac_file in
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 break;;
4109 esac
4110 done
4111 else
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4114
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error $? "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details" "$LINENO" 5; }
4119 fi
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4128 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4133
4134 int
4135 main ()
4136 {
4137 #ifndef __GNUC__
4138 choke me
4139 #endif
4140
4141 ;
4142 return 0;
4143 }
4144 _ACEOF
4145 if ac_fn_cxx_try_compile "$LINENO"; then :
4146 ac_compiler_gnu=yes
4147 else
4148 ac_compiler_gnu=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4152
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4155 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157 GXX=yes
4158 else
4159 GXX=
4160 fi
4161 ac_test_CXXFLAGS=${CXXFLAGS+set}
4162 ac_save_CXXFLAGS=$CXXFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4164 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4165 if ${ac_cv_prog_cxx_g+:} false; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4169 ac_cxx_werror_flag=yes
4170 ac_cv_prog_cxx_g=no
4171 CXXFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174
4175 int
4176 main ()
4177 {
4178
4179 ;
4180 return 0;
4181 }
4182 _ACEOF
4183 if ac_fn_cxx_try_compile "$LINENO"; then :
4184 ac_cv_prog_cxx_g=yes
4185 else
4186 CXXFLAGS=""
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189
4190 int
4191 main ()
4192 {
4193
4194 ;
4195 return 0;
4196 }
4197 _ACEOF
4198 if ac_fn_cxx_try_compile "$LINENO"; then :
4199
4200 else
4201 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4202 CXXFLAGS="-g"
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205
4206 int
4207 main ()
4208 {
4209
4210 ;
4211 return 0;
4212 }
4213 _ACEOF
4214 if ac_fn_cxx_try_compile "$LINENO"; then :
4215 ac_cv_prog_cxx_g=yes
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4223 fi
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4225 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4226 if test "$ac_test_CXXFLAGS" = set; then
4227 CXXFLAGS=$ac_save_CXXFLAGS
4228 elif test $ac_cv_prog_cxx_g = yes; then
4229 if test "$GXX" = yes; then
4230 CXXFLAGS="-g -O2"
4231 else
4232 CXXFLAGS="-g"
4233 fi
4234 else
4235 if test "$GXX" = yes; then
4236 CXXFLAGS="-O2"
4237 else
4238 CXXFLAGS=
4239 fi
4240 fi
4241 ac_ext=c
4242 ac_cpp='$CPP $CPPFLAGS'
4243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51584246 DEPDIR="${am__leading_dot}deps"
51594247
51604248 ac_config_commands="$ac_config_commands depfiles"
52184306 fi
52194307
52204308
5221 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5222 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5223 # is not polluted with repeated "-I."
5224 am__isrc=' -I$(srcdir)'
5225 # test to see if srcdir already configured
5226 if test -f $srcdir/config.status; then
5227 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4309
4310 depcc="$CXX" am_compiler_list=
4311
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4313 $as_echo_n "checking dependency style of $depcc... " >&6; }
4314 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4315 $as_echo_n "(cached) " >&6
4316 else
4317 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4318 # We make a subdir and do the tests there. Otherwise we can end up
4319 # making bogus files that we don't know about and never remove. For
4320 # instance it was reported that on HP-UX the gcc test will end up
4321 # making a dummy file named 'D' -- because '-MD' means "put the output
4322 # in D".
4323 rm -rf conftest.dir
4324 mkdir conftest.dir
4325 # Copy depcomp to subdir because otherwise we won't find it if we're
4326 # using a relative directory.
4327 cp "$am_depcomp" conftest.dir
4328 cd conftest.dir
4329 # We will build objects and dependencies in a subdirectory because
4330 # it helps to detect inapplicable dependency modes. For instance
4331 # both Tru64's cc and ICC support -MD to output dependencies as a
4332 # side effect of compilation, but ICC will put the dependencies in
4333 # the current directory while Tru64 will put them in the object
4334 # directory.
4335 mkdir sub
4336
4337 am_cv_CXX_dependencies_compiler_type=none
4338 if test "$am_compiler_list" = ""; then
4339 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
52284340 fi
5229 fi
5230
5231 # test whether we have cygpath
5232 if test -z "$CYGPATH_W"; then
5233 if (cygpath --version) >/dev/null 2>/dev/null; then
5234 CYGPATH_W='cygpath -w'
4341 am__universal=false
4342 case " $depcc " in #(
4343 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4344 esac
4345
4346 for depmode in $am_compiler_list; do
4347 # Setup a source with many dependencies, because some compilers
4348 # like to wrap large dependency lists on column 80 (with \), and
4349 # we should not choose a depcomp mode which is confused by this.
4350 #
4351 # We need to recreate these files for each test, as the compiler may
4352 # overwrite some of them when testing with obscure command lines.
4353 # This happens at least with the AIX C compiler.
4354 : > sub/conftest.c
4355 for i in 1 2 3 4 5 6; do
4356 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4357 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4358 # Solaris 10 /bin/sh.
4359 echo '/* dummy */' > sub/conftst$i.h
4360 done
4361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4362
4363 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4364 # mode. It turns out that the SunPro C++ compiler does not properly
4365 # handle '-M -o', and we need to detect this. Also, some Intel
4366 # versions had trouble with output in subdirs.
4367 am__obj=sub/conftest.${OBJEXT-o}
4368 am__minus_obj="-o $am__obj"
4369 case $depmode in
4370 gcc)
4371 # This depmode causes a compiler race in universal mode.
4372 test "$am__universal" = false || continue
4373 ;;
4374 nosideeffect)
4375 # After this tag, mechanisms are not by side-effect, so they'll
4376 # only be used when explicitly requested.
4377 if test "x$enable_dependency_tracking" = xyes; then
4378 continue
4379 else
4380 break
4381 fi
4382 ;;
4383 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4384 # This compiler won't grok '-c -o', but also, the minuso test has
4385 # not run yet. These depmodes are late enough in the game, and
4386 # so weak that their functioning should not be impacted.
4387 am__obj=conftest.${OBJEXT-o}
4388 am__minus_obj=
4389 ;;
4390 none) break ;;
4391 esac
4392 if depmode=$depmode \
4393 source=sub/conftest.c object=$am__obj \
4394 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4395 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4396 >/dev/null 2>conftest.err &&
4397 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4398 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4399 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4400 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4401 # icc doesn't choke on unknown options, it will just issue warnings
4402 # or remarks (even with -Werror). So we grep stderr for any message
4403 # that says an option was ignored or not supported.
4404 # When given -MP, icc 7.0 and 7.1 complain thusly:
4405 # icc: Command line warning: ignoring option '-M'; no argument required
4406 # The diagnosis changed in icc 8.0:
4407 # icc: Command line remark: option '-MP' not supported
4408 if (grep 'ignoring option' conftest.err ||
4409 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4410 am_cv_CXX_dependencies_compiler_type=$depmode
4411 break
4412 fi
4413 fi
4414 done
4415
4416 cd ..
4417 rm -rf conftest.dir
4418 else
4419 am_cv_CXX_dependencies_compiler_type=none
4420 fi
4421
4422 fi
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4424 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4425 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4426
4427 if
4428 test "x$enable_dependency_tracking" != xno \
4429 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4430 am__fastdepCXX_TRUE=
4431 am__fastdepCXX_FALSE='#'
4432 else
4433 am__fastdepCXX_TRUE='#'
4434 am__fastdepCXX_FALSE=
4435 fi
4436
4437
4438 CXXFLAGS=""
4439
4440
4441 ac_ext=c
4442 ac_cpp='$CPP $CPPFLAGS'
4443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4446 if test -n "$ac_tool_prefix"; then
4447 for ac_prog in $cc_list
4448 do
4449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if ${ac_cv_prog_CC+:} false; then :
4454 $as_echo_n "(cached) " >&6
4455 else
4456 if test -n "$CC"; then
4457 ac_cv_prog_CC="$CC" # Let the user override the test.
4458 else
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH
4461 do
4462 IFS=$as_save_IFS
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 break 2
4469 fi
4470 done
4471 done
4472 IFS=$as_save_IFS
4473
4474 fi
4475 fi
4476 CC=$ac_cv_prog_CC
4477 if test -n "$CC"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4479 $as_echo "$CC" >&6; }
4480 else
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4483 fi
4484
4485
4486 test -n "$CC" && break
4487 done
4488 fi
4489 if test -z "$CC"; then
4490 ac_ct_CC=$CC
4491 for ac_prog in $cc_list
4492 do
4493 # Extract the first word of "$ac_prog", so it can be a program name with args.
4494 set dummy $ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$ac_ct_CC"; then
4501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4505 do
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_prog_ac_ct_CC="$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4513 fi
4514 done
4515 done
4516 IFS=$as_save_IFS
4517
4518 fi
4519 fi
4520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4521 if test -n "$ac_ct_CC"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4523 $as_echo "$ac_ct_CC" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4527 fi
4528
4529
4530 test -n "$ac_ct_CC" && break
4531 done
4532
4533 if test "x$ac_ct_CC" = x; then
4534 CC=""
52354535 else
5236 CYGPATH_W=echo
4536 case $cross_compiling:$ac_tool_warned in
4537 yes:)
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540 ac_tool_warned=yes ;;
4541 esac
4542 CC=$ac_ct_CC
52374543 fi
52384544 fi
52394545
52404546
5241 # Define the identity of the package.
5242 PACKAGE='cppad'
5243 VERSION='20150000.8'
5244
5245
5246 cat >>confdefs.h <<_ACEOF
5247 #define PACKAGE "$PACKAGE"
5248 _ACEOF
5249
5250
5251 cat >>confdefs.h <<_ACEOF
5252 #define VERSION "$VERSION"
5253 _ACEOF
5254
5255 # Some tools Automake needs.
5256
5257 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5258
5259
5260 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5261
5262
5263 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5264
5265
5266 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5267
5268
5269 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5270
5271 # For better backward compatibility. To be removed once Automake 1.9.x
5272 # dies out for good. For more background, see:
5273 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5274 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5275 mkdir_p='$(MKDIR_P)'
5276
5277 # We need awk for the "check" target. The system "awk" is bad on
5278 # some platforms.
5279 # Always define AMTAR for backward compatibility. Yes, it's still used
5280 # in the wild :-( We should find a proper way to deprecate it ...
5281 AMTAR='$${TAR-tar}'
5282
5283
5284 # We'll loop over all known methods to create a tar archive until one works.
5285 _am_tools='gnutar pax cpio none'
5286
5287 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
5288
5289
5290
5291
4547 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4549 as_fn_error $? "no acceptable C compiler found in \$PATH
4550 See \`config.log' for more details" "$LINENO" 5; }
4551
4552 # Provide some information about the compiler.
4553 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4554 set X $ac_compile
4555 ac_compiler=$2
4556 for ac_option in --version -v -V -qversion; do
4557 { { ac_try="$ac_compiler $ac_option >&5"
4558 case "(($ac_try" in
4559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4561 esac
4562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4563 $as_echo "$ac_try_echo"; } >&5
4564 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4565 ac_status=$?
4566 if test -s conftest.err; then
4567 sed '10a\
4568 ... rest of stderr output deleted ...
4569 10q' conftest.err >conftest.er1
4570 cat conftest.er1 >&5
4571 fi
4572 rm -f conftest.er1 conftest.err
4573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4574 test $ac_status = 0; }
4575 done
4576
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4579 if ${ac_cv_c_compiler_gnu+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4584
4585 int
4586 main ()
4587 {
4588 #ifndef __GNUC__
4589 choke me
4590 #endif
4591
4592 ;
4593 return 0;
4594 }
4595 _ACEOF
4596 if ac_fn_c_try_compile "$LINENO"; then :
4597 ac_compiler_gnu=yes
4598 else
4599 ac_compiler_gnu=no
4600 fi
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4603
4604 fi
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4606 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4607 if test $ac_compiler_gnu = yes; then
4608 GCC=yes
4609 else
4610 GCC=
4611 fi
4612 ac_test_CFLAGS=${CFLAGS+set}
4613 ac_save_CFLAGS=$CFLAGS
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4615 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4616 if ${ac_cv_prog_cc_g+:} false; then :
4617 $as_echo_n "(cached) " >&6
4618 else
4619 ac_save_c_werror_flag=$ac_c_werror_flag
4620 ac_c_werror_flag=yes
4621 ac_cv_prog_cc_g=no
4622 CFLAGS="-g"
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625
4626 int
4627 main ()
4628 {
4629
4630 ;
4631 return 0;
4632 }
4633 _ACEOF
4634 if ac_fn_c_try_compile "$LINENO"; then :
4635 ac_cv_prog_cc_g=yes
4636 else
4637 CFLAGS=""
4638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4640
4641 int
4642 main ()
4643 {
4644
4645 ;
4646 return 0;
4647 }
4648 _ACEOF
4649 if ac_fn_c_try_compile "$LINENO"; then :
4650
4651 else
4652 ac_c_werror_flag=$ac_save_c_werror_flag
4653 CFLAGS="-g"
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656
4657 int
4658 main ()
4659 {
4660
4661 ;
4662 return 0;
4663 }
4664 _ACEOF
4665 if ac_fn_c_try_compile "$LINENO"; then :
4666 ac_cv_prog_cc_g=yes
4667 fi
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 fi
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 fi
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 ac_c_werror_flag=$ac_save_c_werror_flag
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4676 $as_echo "$ac_cv_prog_cc_g" >&6; }
4677 if test "$ac_test_CFLAGS" = set; then
4678 CFLAGS=$ac_save_CFLAGS
4679 elif test $ac_cv_prog_cc_g = yes; then
4680 if test "$GCC" = yes; then
4681 CFLAGS="-g -O2"
4682 else
4683 CFLAGS="-g"
4684 fi
4685 else
4686 if test "$GCC" = yes; then
4687 CFLAGS="-O2"
4688 else
4689 CFLAGS=
4690 fi
4691 fi
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4693 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4694 if ${ac_cv_prog_cc_c89+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 ac_cv_prog_cc_c89=no
4698 ac_save_CC=$CC
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4701 #include <stdarg.h>
4702 #include <stdio.h>
4703 struct stat;
4704 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4705 struct buf { int x; };
4706 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4707 static char *e (p, i)
4708 char **p;
4709 int i;
4710 {
4711 return p[i];
4712 }
4713 static char *f (char * (*g) (char **, int), char **p, ...)
4714 {
4715 char *s;
4716 va_list v;
4717 va_start (v,p);
4718 s = g (p, va_arg (v,int));
4719 va_end (v);
4720 return s;
4721 }
4722
4723 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4724 function prototypes and stuff, but not '\xHH' hex character constants.
4725 These don't provoke an error unfortunately, instead are silently treated
4726 as 'x'. The following induces an error, until -std is added to get
4727 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4728 array size at least. It's necessary to write '\x00'==0 to get something
4729 that's true only with -std. */
4730 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4731
4732 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4733 inside strings and character constants. */
4734 #define FOO(x) 'x'
4735 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4736
4737 int test (int i, double x);
4738 struct s1 {int (*f) (int a);};
4739 struct s2 {int (*f) (double a);};
4740 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4741 int argc;
4742 char **argv;
4743 int
4744 main ()
4745 {
4746 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4747 ;
4748 return 0;
4749 }
4750 _ACEOF
4751 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4752 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4753 do
4754 CC="$ac_save_CC $ac_arg"
4755 if ac_fn_c_try_compile "$LINENO"; then :
4756 ac_cv_prog_cc_c89=$ac_arg
4757 fi
4758 rm -f core conftest.err conftest.$ac_objext
4759 test "x$ac_cv_prog_cc_c89" != "xno" && break
4760 done
4761 rm -f conftest.$ac_ext
4762 CC=$ac_save_CC
4763
4764 fi
4765 # AC_CACHE_VAL
4766 case "x$ac_cv_prog_cc_c89" in
4767 x)
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4769 $as_echo "none needed" >&6; } ;;
4770 xno)
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4772 $as_echo "unsupported" >&6; } ;;
4773 *)
4774 CC="$CC $ac_cv_prog_cc_c89"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4776 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4777 esac
4778 if test "x$ac_cv_prog_cc_c89" != xno; then :
4779
4780 fi
4781
4782 ac_ext=c
4783 ac_cpp='$CPP $CPPFLAGS'
4784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52924787
52934788 depcc="$CC" am_compiler_list=
52944789
54184913 fi
54194914
54204915
5421
5422
5423
5424 if test -n "$ac_tool_prefix"; then
5425 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5426 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_RANLIB+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$RANLIB"; then
5433 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5437 do
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5445 fi
5446 done
5447 done
5448 IFS=$as_save_IFS
5449
5450 fi
5451 fi
5452 RANLIB=$ac_cv_prog_RANLIB
5453 if test -n "$RANLIB"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5455 $as_echo "$RANLIB" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5459 fi
5460
5461
5462 fi
5463 if test -z "$ac_cv_prog_RANLIB"; then
5464 ac_ct_RANLIB=$RANLIB
5465 # Extract the first word of "ranlib", so it can be a program name with args.
5466 set dummy ranlib; ac_word=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5470 $as_echo_n "(cached) " >&6
5471 else
5472 if test -n "$ac_ct_RANLIB"; then
5473 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5474 else
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476 for as_dir in $PATH
5477 do
5478 IFS=$as_save_IFS
5479 test -z "$as_dir" && as_dir=.
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_RANLIB="ranlib"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 break 2
5485 fi
5486 done
5487 done
5488 IFS=$as_save_IFS
5489
5490 fi
5491 fi
5492 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5493 if test -n "$ac_ct_RANLIB"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5495 $as_echo "$ac_ct_RANLIB" >&6; }
5496 else
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5499 fi
5500
5501 if test "x$ac_ct_RANLIB" = x; then
5502 RANLIB=":"
5503 else
5504 case $cross_compiling:$ac_tool_warned in
5505 yes:)
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5508 ac_tool_warned=yes ;;
5509 esac
5510 RANLIB=$ac_ct_RANLIB
5511 fi
5512 else
5513 RANLIB="$ac_cv_prog_RANLIB"
5514 fi
5515
5516
5517 ac_ext=cpp
5518 ac_cpp='$CXXCPP $CPPFLAGS'
5519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5522 if test -z "$CXX"; then
5523 if test -n "$CCC"; then
5524 CXX=$CCC
5525 else
5526 if test -n "$ac_tool_prefix"; then
5527 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5528 do
5529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_CXX+:} false; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5536 if test -n "$CXX"; then
5537 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5541 do
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5546 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5549 fi
5550 done
5551 done
5552 IFS=$as_save_IFS
5553
5554 fi
5555 fi
5556 CXX=$ac_cv_prog_CXX
5557 if test -n "$CXX"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5559 $as_echo "$CXX" >&6; }
5560 else
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5563 fi
5564
5565
5566 test -n "$CXX" && break
5567 done
5568 fi
5569 if test -z "$CXX"; then
5570 ac_ct_CXX=$CXX
5571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5572 do
5573 # Extract the first word of "$ac_prog", so it can be a program name with args.
5574 set dummy $ac_prog; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5578 $as_echo_n "(cached) " >&6
5579 else
5580 if test -n "$ac_ct_CXX"; then
5581 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5582 else
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5585 do
5586 IFS=$as_save_IFS
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_ac_ct_CXX="$ac_prog"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 break 2
5593 fi
5594 done
5595 done
5596 IFS=$as_save_IFS
5597
5598 fi
5599 fi
5600 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5601 if test -n "$ac_ct_CXX"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5603 $as_echo "$ac_ct_CXX" >&6; }
5604 else
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5607 fi
5608
5609
5610 test -n "$ac_ct_CXX" && break
5611 done
5612
5613 if test "x$ac_ct_CXX" = x; then
5614 CXX="g++"
5615 else
5616 case $cross_compiling:$ac_tool_warned in
5617 yes:)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5620 ac_tool_warned=yes ;;
5621 esac
5622 CXX=$ac_ct_CXX
5623 fi
5624 fi
5625
5626 fi
5627 fi
5628 # Provide some information about the compiler.
5629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5630 set X $ac_compile
5631 ac_compiler=$2
5632 for ac_option in --version -v -V -qversion; do
5633 { { ac_try="$ac_compiler $ac_option >&5"
5634 case "(($ac_try" in
5635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5636 *) ac_try_echo=$ac_try;;
5637 esac
5638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5639 $as_echo "$ac_try_echo"; } >&5
5640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5641 ac_status=$?
5642 if test -s conftest.err; then
5643 sed '10a\
5644 ... rest of stderr output deleted ...
5645 10q' conftest.err >conftest.er1
5646 cat conftest.er1 >&5
5647 fi
5648 rm -f conftest.er1 conftest.err
5649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5650 test $ac_status = 0; }
5651 done
5652
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5654 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5655 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5660
5661 int
5662 main ()
5663 {
5664 #ifndef __GNUC__
5665 choke me
5666 #endif
5667
5668 ;
5669 return 0;
5670 }
5671 _ACEOF
5672 if ac_fn_cxx_try_compile "$LINENO"; then :
5673 ac_compiler_gnu=yes
5674 else
5675 ac_compiler_gnu=no
5676 fi
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5679
5680 fi
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5682 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5683 if test $ac_compiler_gnu = yes; then
5684 GXX=yes
5685 else
5686 GXX=
5687 fi
5688 ac_test_CXXFLAGS=${CXXFLAGS+set}
5689 ac_save_CXXFLAGS=$CXXFLAGS
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5691 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5692 if ${ac_cv_prog_cxx_g+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5696 ac_cxx_werror_flag=yes
5697 ac_cv_prog_cxx_g=no
5698 CXXFLAGS="-g"
5699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5701
5702 int
5703 main ()
5704 {
5705
5706 ;
5707 return 0;
5708 }
5709 _ACEOF
5710 if ac_fn_cxx_try_compile "$LINENO"; then :
5711 ac_cv_prog_cxx_g=yes
5712 else
5713 CXXFLAGS=""
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5716
5717 int
5718 main ()
5719 {
5720
5721 ;
5722 return 0;
5723 }
5724 _ACEOF
5725 if ac_fn_cxx_try_compile "$LINENO"; then :
5726
5727 else
5728 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5729 CXXFLAGS="-g"
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5732
5733 int
5734 main ()
5735 {
5736
5737 ;
5738 return 0;
5739 }
5740 _ACEOF
5741 if ac_fn_cxx_try_compile "$LINENO"; then :
5742 ac_cv_prog_cxx_g=yes
5743 fi
5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 fi
5746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5747 fi
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5750 fi
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5752 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5753 if test "$ac_test_CXXFLAGS" = set; then
5754 CXXFLAGS=$ac_save_CXXFLAGS
5755 elif test $ac_cv_prog_cxx_g = yes; then
5756 if test "$GXX" = yes; then
5757 CXXFLAGS="-g -O2"
5758 else
5759 CXXFLAGS="-g"
5760 fi
5761 else
5762 if test "$GXX" = yes; then
5763 CXXFLAGS="-O2"
5764 else
5765 CXXFLAGS=
5766 fi
5767 fi
5768 ac_ext=c
5769 ac_cpp='$CPP $CPPFLAGS'
5770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5773
5774 depcc="$CXX" am_compiler_list=
5775
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5777 $as_echo_n "checking dependency style of $depcc... " >&6; }
5778 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5779 $as_echo_n "(cached) " >&6
5780 else
5781 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5782 # We make a subdir and do the tests there. Otherwise we can end up
5783 # making bogus files that we don't know about and never remove. For
5784 # instance it was reported that on HP-UX the gcc test will end up
5785 # making a dummy file named 'D' -- because '-MD' means "put the output
5786 # in D".
5787 rm -rf conftest.dir
5788 mkdir conftest.dir
5789 # Copy depcomp to subdir because otherwise we won't find it if we're
5790 # using a relative directory.
5791 cp "$am_depcomp" conftest.dir
5792 cd conftest.dir
5793 # We will build objects and dependencies in a subdirectory because
5794 # it helps to detect inapplicable dependency modes. For instance
5795 # both Tru64's cc and ICC support -MD to output dependencies as a
5796 # side effect of compilation, but ICC will put the dependencies in
5797 # the current directory while Tru64 will put them in the object
5798 # directory.
5799 mkdir sub
5800
5801 am_cv_CXX_dependencies_compiler_type=none
5802 if test "$am_compiler_list" = ""; then
5803 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5804 fi
5805 am__universal=false
5806 case " $depcc " in #(
5807 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5808 esac
5809
5810 for depmode in $am_compiler_list; do
5811 # Setup a source with many dependencies, because some compilers
5812 # like to wrap large dependency lists on column 80 (with \), and
5813 # we should not choose a depcomp mode which is confused by this.
5814 #
5815 # We need to recreate these files for each test, as the compiler may
5816 # overwrite some of them when testing with obscure command lines.
5817 # This happens at least with the AIX C compiler.
5818 : > sub/conftest.c
5819 for i in 1 2 3 4 5 6; do
5820 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5821 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5822 # Solaris 10 /bin/sh.
5823 echo '/* dummy */' > sub/conftst$i.h
5824 done
5825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5826
5827 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5828 # mode. It turns out that the SunPro C++ compiler does not properly
5829 # handle '-M -o', and we need to detect this. Also, some Intel
5830 # versions had trouble with output in subdirs.
5831 am__obj=sub/conftest.${OBJEXT-o}
5832 am__minus_obj="-o $am__obj"
5833 case $depmode in
5834 gcc)
5835 # This depmode causes a compiler race in universal mode.
5836 test "$am__universal" = false || continue
5837 ;;
5838 nosideeffect)
5839 # After this tag, mechanisms are not by side-effect, so they'll
5840 # only be used when explicitly requested.
5841 if test "x$enable_dependency_tracking" = xyes; then
5842 continue
5843 else
5844 break
5845 fi
5846 ;;
5847 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5848 # This compiler won't grok '-c -o', but also, the minuso test has
5849 # not run yet. These depmodes are late enough in the game, and
5850 # so weak that their functioning should not be impacted.
5851 am__obj=conftest.${OBJEXT-o}
5852 am__minus_obj=
5853 ;;
5854 none) break ;;
5855 esac
5856 if depmode=$depmode \
5857 source=sub/conftest.c object=$am__obj \
5858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5859 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5860 >/dev/null 2>conftest.err &&
5861 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5862 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5863 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5864 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5865 # icc doesn't choke on unknown options, it will just issue warnings
5866 # or remarks (even with -Werror). So we grep stderr for any message
5867 # that says an option was ignored or not supported.
5868 # When given -MP, icc 7.0 and 7.1 complain thusly:
5869 # icc: Command line warning: ignoring option '-M'; no argument required
5870 # The diagnosis changed in icc 8.0:
5871 # icc: Command line remark: option '-MP' not supported
5872 if (grep 'ignoring option' conftest.err ||
5873 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5874 am_cv_CXX_dependencies_compiler_type=$depmode
5875 break
5876 fi
5877 fi
5878 done
5879
5880 cd ..
5881 rm -rf conftest.dir
5882 else
5883 am_cv_CXX_dependencies_compiler_type=none
5884 fi
5885
5886 fi
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5888 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5889 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5890
5891 if
5892 test "x$enable_dependency_tracking" != xno \
5893 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5894 am__fastdepCXX_TRUE=
5895 am__fastdepCXX_FALSE='#'
5896 else
5897 am__fastdepCXX_TRUE='#'
5898 am__fastdepCXX_FALSE=
5899 fi
5900
5901
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using Microsoft C++ compiler" >&5
5903 $as_echo_n "checking whether using Microsoft C++ compiler... " >&6; }
5904 if test "$CXX" == "cl" || test "$CXX" == "icl"; then
5905 CppAD_MS_COMPILER_TRUE=
5906 CppAD_MS_COMPILER_FALSE='#'
5907 else
5908 CppAD_MS_COMPILER_TRUE='#'
5909 CppAD_MS_COMPILER_FALSE=
5910 fi
5911
5912 if test "$CXX" == "cl" || test "$CXX" == "icl"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5914 $as_echo "yes" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918 fi
5919 CXXFLAGS=""
5920
5921
5922
5923 ac_ext=c
5924 ac_cpp='$CPP $CPPFLAGS'
5925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5928 if test -n "$ac_tool_prefix"; then
5929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_CC+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$CC"; then
5937 ac_cv_prog_CC="$CC" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5941 do
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5949 fi
5950 done
5951 done
5952 IFS=$as_save_IFS
5953
5954 fi
5955 fi
5956 CC=$ac_cv_prog_CC
5957 if test -n "$CC"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5959 $as_echo "$CC" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5963 fi
5964
5965
5966 fi
5967 if test -z "$ac_cv_prog_CC"; then
5968 ac_ct_CC=$CC
5969 # Extract the first word of "gcc", so it can be a program name with args.
5970 set dummy gcc; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$ac_ct_CC"; then
5977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5981 do
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_ac_ct_CC="gcc"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5989 fi
5990 done
5991 done
5992 IFS=$as_save_IFS
5993
5994 fi
5995 fi
5996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5997 if test -n "$ac_ct_CC"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5999 $as_echo "$ac_ct_CC" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6003 fi
6004
6005 if test "x$ac_ct_CC" = x; then
6006 CC=""
6007 else
6008 case $cross_compiling:$ac_tool_warned in
6009 yes:)
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6012 ac_tool_warned=yes ;;
6013 esac
6014 CC=$ac_ct_CC
6015 fi
6016 else
6017 CC="$ac_cv_prog_CC"
6018 fi
6019
6020 if test -z "$CC"; then
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6023 set dummy ${ac_tool_prefix}cc; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if ${ac_cv_prog_CC+:} false; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 if test -n "$CC"; then
6030 ac_cv_prog_CC="$CC" # Let the user override the test.
6031 else
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in $PATH
6034 do
6035 IFS=$as_save_IFS
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039 ac_cv_prog_CC="${ac_tool_prefix}cc"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 break 2
6042 fi
6043 done
6044 done
6045 IFS=$as_save_IFS
6046
6047 fi
6048 fi
6049 CC=$ac_cv_prog_CC
6050 if test -n "$CC"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6052 $as_echo "$CC" >&6; }
6053 else
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6056 fi
6057
6058
6059 fi
6060 fi
6061 if test -z "$CC"; then
6062 # Extract the first word of "cc", so it can be a program name with args.
6063 set dummy cc; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_CC+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$CC"; then
6070 ac_cv_prog_CC="$CC" # Let the user override the test.
6071 else
6072 ac_prog_rejected=no
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6075 do
6076 IFS=$as_save_IFS
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6081 ac_prog_rejected=yes
6082 continue
6083 fi
6084 ac_cv_prog_CC="cc"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6087 fi
6088 done
6089 done
6090 IFS=$as_save_IFS
6091
6092 if test $ac_prog_rejected = yes; then
6093 # We found a bogon in the path, so make sure we never use it.
6094 set dummy $ac_cv_prog_CC
6095 shift
6096 if test $# != 0; then
6097 # We chose a different compiler from the bogus one.
6098 # However, it has the same basename, so the bogon will be chosen
6099 # first if we set CC to just the basename; use the full file name.
6100 shift
6101 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6102 fi
6103 fi
6104 fi
6105 fi
6106 CC=$ac_cv_prog_CC
6107 if test -n "$CC"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6109 $as_echo "$CC" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6113 fi
6114
6115
6116 fi
6117 if test -z "$CC"; then
6118 if test -n "$ac_tool_prefix"; then
6119 for ac_prog in cl.exe
6120 do
6121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if ${ac_cv_prog_CC+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 if test -n "$CC"; then
6129 ac_cv_prog_CC="$CC" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6133 do
6134 IFS=$as_save_IFS
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 break 2
6141 fi
6142 done
6143 done
6144 IFS=$as_save_IFS
6145
6146 fi
6147 fi
6148 CC=$ac_cv_prog_CC
6149 if test -n "$CC"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6151 $as_echo "$CC" >&6; }
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6155 fi
6156
6157
6158 test -n "$CC" && break
6159 done
6160 fi
6161 if test -z "$CC"; then
6162 ac_ct_CC=$CC
6163 for ac_prog in cl.exe
6164 do
6165 # Extract the first word of "$ac_prog", so it can be a program name with args.
6166 set dummy $ac_prog; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$ac_ct_CC"; then
6173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6177 do
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_ac_ct_CC="$ac_prog"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6185 fi
6186 done
6187 done
6188 IFS=$as_save_IFS
6189
6190 fi
6191 fi
6192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6193 if test -n "$ac_ct_CC"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6195 $as_echo "$ac_ct_CC" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6199 fi
6200
6201
6202 test -n "$ac_ct_CC" && break
6203 done
6204
6205 if test "x$ac_ct_CC" = x; then
6206 CC=""
6207 else
6208 case $cross_compiling:$ac_tool_warned in
6209 yes:)
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6212 ac_tool_warned=yes ;;
6213 esac
6214 CC=$ac_ct_CC
6215 fi
6216 fi
6217
6218 fi
6219
6220
6221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6223 as_fn_error $? "no acceptable C compiler found in \$PATH
6224 See \`config.log' for more details" "$LINENO" 5; }
6225
6226 # Provide some information about the compiler.
6227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6228 set X $ac_compile
6229 ac_compiler=$2
6230 for ac_option in --version -v -V -qversion; do
6231 { { ac_try="$ac_compiler $ac_option >&5"
6232 case "(($ac_try" in
6233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6234 *) ac_try_echo=$ac_try;;
6235 esac
6236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6237 $as_echo "$ac_try_echo"; } >&5
6238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6239 ac_status=$?
6240 if test -s conftest.err; then
6241 sed '10a\
6242 ... rest of stderr output deleted ...
6243 10q' conftest.err >conftest.er1
6244 cat conftest.er1 >&5
6245 fi
6246 rm -f conftest.er1 conftest.err
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248 test $ac_status = 0; }
6249 done
6250
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6252 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6253 if ${ac_cv_c_compiler_gnu+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258
6259 int
6260 main ()
6261 {
6262 #ifndef __GNUC__
6263 choke me
6264 #endif
6265
6266 ;
6267 return 0;
6268 }
6269 _ACEOF
6270 if ac_fn_c_try_compile "$LINENO"; then :
6271 ac_compiler_gnu=yes
6272 else
6273 ac_compiler_gnu=no
6274 fi
6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6277
6278 fi
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6280 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6281 if test $ac_compiler_gnu = yes; then
6282 GCC=yes
6283 else
6284 GCC=
6285 fi
6286 ac_test_CFLAGS=${CFLAGS+set}
6287 ac_save_CFLAGS=$CFLAGS
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6289 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6290 if ${ac_cv_prog_cc_g+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 ac_save_c_werror_flag=$ac_c_werror_flag
6294 ac_c_werror_flag=yes
6295 ac_cv_prog_cc_g=no
6296 CFLAGS="-g"
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299
6300 int
6301 main ()
6302 {
6303
6304 ;
6305 return 0;
6306 }
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_prog_cc_g=yes
6310 else
6311 CFLAGS=""
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314
6315 int
6316 main ()
6317 {
6318
6319 ;
6320 return 0;
6321 }
6322 _ACEOF
6323 if ac_fn_c_try_compile "$LINENO"; then :
6324
6325 else
6326 ac_c_werror_flag=$ac_save_c_werror_flag
6327 CFLAGS="-g"
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330
6331 int
6332 main ()
6333 {
6334
6335 ;
6336 return 0;
6337 }
6338 _ACEOF
6339 if ac_fn_c_try_compile "$LINENO"; then :
6340 ac_cv_prog_cc_g=yes
6341 fi
6342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6343 fi
6344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6345 fi
6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6347 ac_c_werror_flag=$ac_save_c_werror_flag
6348 fi
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6350 $as_echo "$ac_cv_prog_cc_g" >&6; }
6351 if test "$ac_test_CFLAGS" = set; then
6352 CFLAGS=$ac_save_CFLAGS
6353 elif test $ac_cv_prog_cc_g = yes; then
6354 if test "$GCC" = yes; then
6355 CFLAGS="-g -O2"
6356 else
6357 CFLAGS="-g"
6358 fi
6359 else
6360 if test "$GCC" = yes; then
6361 CFLAGS="-O2"
6362 else
6363 CFLAGS=
6364 fi
6365 fi
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6367 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6368 if ${ac_cv_prog_cc_c89+:} false; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 ac_cv_prog_cc_c89=no
6372 ac_save_CC=$CC
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <stdarg.h>
6376 #include <stdio.h>
6377 struct stat;
6378 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6379 struct buf { int x; };
6380 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6381 static char *e (p, i)
6382 char **p;
6383 int i;
6384 {
6385 return p[i];
6386 }
6387 static char *f (char * (*g) (char **, int), char **p, ...)
6388 {
6389 char *s;
6390 va_list v;
6391 va_start (v,p);
6392 s = g (p, va_arg (v,int));
6393 va_end (v);
6394 return s;
6395 }
6396
6397 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6398 function prototypes and stuff, but not '\xHH' hex character constants.
6399 These don't provoke an error unfortunately, instead are silently treated
6400 as 'x'. The following induces an error, until -std is added to get
6401 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6402 array size at least. It's necessary to write '\x00'==0 to get something
6403 that's true only with -std. */
6404 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6405
6406 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6407 inside strings and character constants. */
6408 #define FOO(x) 'x'
6409 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6410
6411 int test (int i, double x);
6412 struct s1 {int (*f) (int a);};
6413 struct s2 {int (*f) (double a);};
6414 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6415 int argc;
6416 char **argv;
6417 int
6418 main ()
6419 {
6420 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6421 ;
6422 return 0;
6423 }
6424 _ACEOF
6425 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6426 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6427 do
6428 CC="$ac_save_CC $ac_arg"
6429 if ac_fn_c_try_compile "$LINENO"; then :
6430 ac_cv_prog_cc_c89=$ac_arg
6431 fi
6432 rm -f core conftest.err conftest.$ac_objext
6433 test "x$ac_cv_prog_cc_c89" != "xno" && break
6434 done
6435 rm -f conftest.$ac_ext
6436 CC=$ac_save_CC
6437
6438 fi
6439 # AC_CACHE_VAL
6440 case "x$ac_cv_prog_cc_c89" in
6441 x)
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6443 $as_echo "none needed" >&6; } ;;
6444 xno)
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6446 $as_echo "unsupported" >&6; } ;;
6447 *)
6448 CC="$CC $ac_cv_prog_cc_c89"
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6450 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6451 esac
6452 if test "x$ac_cv_prog_cc_c89" != xno; then :
6453
6454 fi
6455
6456 ac_ext=c
6457 ac_cpp='$CPP $CPPFLAGS'
6458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using Microsoft C++ compiler" >&5
6463 $as_echo_n "checking whether using Microsoft C++ compiler... " >&6; }
64644916 CFLAGS=""
6465
6466
6467
6468
6469 ac_ext=c
6470 ac_cpp='$CPP $CPPFLAGS'
6471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6476 # On Suns, sometimes $CPP names a directory.
6477 if test -n "$CPP" && test -d "$CPP"; then
6478 CPP=
6479 fi
6480 if test -z "$CPP"; then
6481 if ${ac_cv_prog_CPP+:} false; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 # Double quotes because CPP needs to be expanded
6485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6486 do
6487 ac_preproc_ok=false
6488 for ac_c_preproc_warn_flag in '' yes
6489 do
6490 # Use a header file that comes with gcc, so configuring glibc
6491 # with a fresh cross-compiler works.
6492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6493 # <limits.h> exists even on freestanding compilers.
6494 # On the NeXT, cc -E runs the code through the compiler's parser,
6495 # not just through cpp. "Syntax error" is here to catch this case.
6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6498 #ifdef __STDC__
6499 # include <limits.h>
6500 #else
6501 # include <assert.h>
6502 #endif
6503 Syntax error
6504 _ACEOF
6505 if ac_fn_c_try_cpp "$LINENO"; then :
6506
6507 else
6508 # Broken: fails on valid input.
6509 continue
6510 fi
6511 rm -f conftest.err conftest.i conftest.$ac_ext
6512
6513 # OK, works on sane cases. Now check whether nonexistent headers
6514 # can be detected and how.
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6517 #include <ac_nonexistent.h>
6518 _ACEOF
6519 if ac_fn_c_try_cpp "$LINENO"; then :
6520 # Broken: success on invalid input.
6521 continue
6522 else
6523 # Passes both tests.
6524 ac_preproc_ok=:
6525 break
6526 fi
6527 rm -f conftest.err conftest.i conftest.$ac_ext
6528
6529 done
6530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6531 rm -f conftest.i conftest.err conftest.$ac_ext
6532 if $ac_preproc_ok; then :
6533 break
6534 fi
6535
6536 done
6537 ac_cv_prog_CPP=$CPP
6538
6539 fi
6540 CPP=$ac_cv_prog_CPP
6541 else
6542 ac_cv_prog_CPP=$CPP
6543 fi
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6545 $as_echo "$CPP" >&6; }
6546 ac_preproc_ok=false
6547 for ac_c_preproc_warn_flag in '' yes
6548 do
6549 # Use a header file that comes with gcc, so configuring glibc
6550 # with a fresh cross-compiler works.
6551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6552 # <limits.h> exists even on freestanding compilers.
6553 # On the NeXT, cc -E runs the code through the compiler's parser,
6554 # not just through cpp. "Syntax error" is here to catch this case.
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6557 #ifdef __STDC__
6558 # include <limits.h>
6559 #else
6560 # include <assert.h>
6561 #endif
6562 Syntax error
6563 _ACEOF
6564 if ac_fn_c_try_cpp "$LINENO"; then :
6565
6566 else
6567 # Broken: fails on valid input.
6568 continue
6569 fi
6570 rm -f conftest.err conftest.i conftest.$ac_ext
6571
6572 # OK, works on sane cases. Now check whether nonexistent headers
6573 # can be detected and how.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <ac_nonexistent.h>
6577 _ACEOF
6578 if ac_fn_c_try_cpp "$LINENO"; then :
6579 # Broken: success on invalid input.
6580 continue
6581 else
6582 # Passes both tests.
6583 ac_preproc_ok=:
6584 break
6585 fi
6586 rm -f conftest.err conftest.i conftest.$ac_ext
6587
6588 done
6589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590 rm -f conftest.i conftest.err conftest.$ac_ext
6591 if $ac_preproc_ok; then :
6592
6593 else
6594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6596 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6597 See \`config.log' for more details" "$LINENO" 5; }
6598 fi
6599
6600 ac_ext=c
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6605
6606
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6608 $as_echo_n "checking for inline... " >&6; }
6609 if ${ac_cv_c_inline+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 ac_cv_c_inline=no
6613 for ac_kw in inline __inline__ __inline; do
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #ifndef __cplusplus
6617 typedef int foo_t;
6618 static $ac_kw foo_t static_foo () {return 0; }
6619 $ac_kw foo_t foo () {return 0; }
6620 #endif
6621
6622 _ACEOF
6623 if ac_fn_c_try_compile "$LINENO"; then :
6624 ac_cv_c_inline=$ac_kw
6625 fi
6626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6627 test "$ac_cv_c_inline" != no && break
6628 done
6629
6630 fi
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6632 $as_echo "$ac_cv_c_inline" >&6; }
6633
6634 case $ac_cv_c_inline in
6635 inline | yes) ;;
6636 *)
6637 case $ac_cv_c_inline in
6638 no) ac_val=;;
6639 *) ac_val=$ac_cv_c_inline;;
6640 esac
6641 cat >>confdefs.h <<_ACEOF
6642 #ifndef __cplusplus
6643 #define inline $ac_val
6644 #endif
6645 _ACEOF
6646 ;;
6647 esac
66484917
66494918
66504919 ac_ext=${ac_fc_srcext-f}
66524921 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
66534922 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
66544923 if test -n "$ac_tool_prefix"; then
6655 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
4924 for ac_prog in $fc_list
66564925 do
66574926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
66584927 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
66964965 fi
66974966 if test -z "$FC"; then
66984967 ac_ct_FC=$FC
6699 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
4968 for ac_prog in $fc_list
67004969 do
67014970 # Extract the first word of "$ac_prog", so it can be a program name with args.
67024971 set dummy $ac_prog; ac_word=$2
68575126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68595128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5129
5130
5131 # Extract the first word of "pkg-config", so it can be a program name with args.
5132 set dummy pkg-config; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_have_pkg_config+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$have_pkg_config"; then
5139 ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5143 do
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_have_pkg_config="yes"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5151 fi
5152 done
5153 done
5154 IFS=$as_save_IFS
5155
5156 test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no"
5157 fi
5158 fi
5159 have_pkg_config=$ac_cv_prog_have_pkg_config
5160 if test -n "$have_pkg_config"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5
5162 $as_echo "$have_pkg_config" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5166 fi
5167
5168
5169 if test "$have_pkg_config" = "yes"; then
5170 CppAD_PKG_CONFIG_TRUE=
5171 CppAD_PKG_CONFIG_FALSE='#'
5172 else
5173 CppAD_PKG_CONFIG_TRUE='#'
5174 CppAD_PKG_CONFIG_FALSE=
5175 fi
5176
5177
5178
5179 if test -n "$ac_tool_prefix"; then
5180 for ac_prog in ar lib "link -lib"
5181 do
5182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_AR+:} false; then :
5187 $as_echo_n "(cached) " >&6
5188 else
5189 if test -n "$AR"; then
5190 ac_cv_prog_AR="$AR" # Let the user override the test.
5191 else
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 for as_dir in $PATH
5194 do
5195 IFS=$as_save_IFS
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 break 2
5202 fi
5203 done
5204 done
5205 IFS=$as_save_IFS
5206
5207 fi
5208 fi
5209 AR=$ac_cv_prog_AR
5210 if test -n "$AR"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5212 $as_echo "$AR" >&6; }
5213 else
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5216 fi
5217
5218
5219 test -n "$AR" && break
5220 done
5221 fi
5222 if test -z "$AR"; then
5223 ac_ct_AR=$AR
5224 for ac_prog in ar lib "link -lib"
5225 do
5226 # Extract the first word of "$ac_prog", so it can be a program name with args.
5227 set dummy $ac_prog; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 if test -n "$ac_ct_AR"; then
5234 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5238 do
5239 IFS=$as_save_IFS
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_ac_ct_AR="$ac_prog"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 break 2
5246 fi
5247 done
5248 done
5249 IFS=$as_save_IFS
5250
5251 fi
5252 fi
5253 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5254 if test -n "$ac_ct_AR"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5256 $as_echo "$ac_ct_AR" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 fi
5261
5262
5263 test -n "$ac_ct_AR" && break
5264 done
5265
5266 if test "x$ac_ct_AR" = x; then
5267 AR="false"
5268 else
5269 case $cross_compiling:$ac_tool_warned in
5270 yes:)
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5273 ac_tool_warned=yes ;;
5274 esac
5275 AR=$ac_ct_AR
5276 fi
5277 fi
5278
5279 : ${AR=ar}
5280
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5282 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5283 if ${am_cv_ar_interface+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 am_cv_ar_interface=ar
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5289 int some_variable = 0;
5290 _ACEOF
5291 if ac_fn_c_try_compile "$LINENO"; then :
5292 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5293 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5294 (eval $am_ar_try) 2>&5
5295 ac_status=$?
5296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5297 test $ac_status = 0; }
5298 if test "$ac_status" -eq 0; then
5299 am_cv_ar_interface=ar
5300 else
5301 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5302 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5303 (eval $am_ar_try) 2>&5
5304 ac_status=$?
5305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5306 test $ac_status = 0; }
5307 if test "$ac_status" -eq 0; then
5308 am_cv_ar_interface=lib
5309 else
5310 am_cv_ar_interface=unknown
5311 fi
5312 fi
5313 rm -f conftest.lib libconftest.a
5314
5315 fi
5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5317
5318 fi
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5320 $as_echo "$am_cv_ar_interface" >&6; }
5321
5322 case $am_cv_ar_interface in
5323 ar)
5324 ;;
5325 lib)
5326 # Microsoft lib, so override with the ar-lib wrapper script.
5327 # FIXME: It is wrong to rewrite AR.
5328 # But if we don't then we get into trouble of one sort or another.
5329 # A longer-term fix would be to have automake use am__AR in this case,
5330 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5331 # similar.
5332 AR="$am_aux_dir/ar-lib $AR"
5333 ;;
5334 unknown)
5335 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5336 ;;
5337 esac
5338
5339 if test "$AR" = "ar"; then
5340 CppAD_HAVE_AR_TRUE=
5341 CppAD_HAVE_AR_FALSE='#'
5342 else
5343 CppAD_HAVE_AR_TRUE='#'
5344 CppAD_HAVE_AR_FALSE=
5345 fi
5346
5347 if test "$AR" != "ar"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot build any libraries because ar is missing; e.g,, speed/* not built
5349 " >&5
5350 $as_echo "$as_me: WARNING: cannot build any libraries because ar is missing; e.g,, speed/* not built
5351 " >&2;}
5352 fi
5353
5354
5355 cppad_has_colpack=0
5356
5357
5358 cppad_has_nullptr=0
5359
5360 cppad_has_rvalue=0
5361
5362 cppad_has_cstdint_8_to_64=0
5363
5364 cppad_compiler_has_erf=0
5365
5366
5367 ac_ext=c
5368 ac_cpp='$CPP $CPPFLAGS'
5369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5373 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5374 # On Suns, sometimes $CPP names a directory.
5375 if test -n "$CPP" && test -d "$CPP"; then
5376 CPP=
5377 fi
5378 if test -z "$CPP"; then
5379 if ${ac_cv_prog_CPP+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 # Double quotes because CPP needs to be expanded
5383 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5384 do
5385 ac_preproc_ok=false
5386 for ac_c_preproc_warn_flag in '' yes
5387 do
5388 # Use a header file that comes with gcc, so configuring glibc
5389 # with a fresh cross-compiler works.
5390 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5391 # <limits.h> exists even on freestanding compilers.
5392 # On the NeXT, cc -E runs the code through the compiler's parser,
5393 # not just through cpp. "Syntax error" is here to catch this case.
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5396 #ifdef __STDC__
5397 # include <limits.h>
5398 #else
5399 # include <assert.h>
5400 #endif
5401 Syntax error
5402 _ACEOF
5403 if ac_fn_c_try_cpp "$LINENO"; then :
5404
5405 else
5406 # Broken: fails on valid input.
5407 continue
5408 fi
5409 rm -f conftest.err conftest.i conftest.$ac_ext
5410
5411 # OK, works on sane cases. Now check whether nonexistent headers
5412 # can be detected and how.
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5415 #include <ac_nonexistent.h>
5416 _ACEOF
5417 if ac_fn_c_try_cpp "$LINENO"; then :
5418 # Broken: success on invalid input.
5419 continue
5420 else
5421 # Passes both tests.
5422 ac_preproc_ok=:
5423 break
5424 fi
5425 rm -f conftest.err conftest.i conftest.$ac_ext
5426
5427 done
5428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5429 rm -f conftest.i conftest.err conftest.$ac_ext
5430 if $ac_preproc_ok; then :
5431 break
5432 fi
5433
5434 done
5435 ac_cv_prog_CPP=$CPP
5436
5437 fi
5438 CPP=$ac_cv_prog_CPP
5439 else
5440 ac_cv_prog_CPP=$CPP
5441 fi
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5443 $as_echo "$CPP" >&6; }
5444 ac_preproc_ok=false
5445 for ac_c_preproc_warn_flag in '' yes
5446 do
5447 # Use a header file that comes with gcc, so configuring glibc
5448 # with a fresh cross-compiler works.
5449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5450 # <limits.h> exists even on freestanding compilers.
5451 # On the NeXT, cc -E runs the code through the compiler's parser,
5452 # not just through cpp. "Syntax error" is here to catch this case.
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5455 #ifdef __STDC__
5456 # include <limits.h>
5457 #else
5458 # include <assert.h>
5459 #endif
5460 Syntax error
5461 _ACEOF
5462 if ac_fn_c_try_cpp "$LINENO"; then :
5463
5464 else
5465 # Broken: fails on valid input.
5466 continue
5467 fi
5468 rm -f conftest.err conftest.i conftest.$ac_ext
5469
5470 # OK, works on sane cases. Now check whether nonexistent headers
5471 # can be detected and how.
5472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5474 #include <ac_nonexistent.h>
5475 _ACEOF
5476 if ac_fn_c_try_cpp "$LINENO"; then :
5477 # Broken: success on invalid input.
5478 continue
5479 else
5480 # Passes both tests.
5481 ac_preproc_ok=:
5482 break
5483 fi
5484 rm -f conftest.err conftest.i conftest.$ac_ext
5485
5486 done
5487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5488 rm -f conftest.i conftest.err conftest.$ac_ext
5489 if $ac_preproc_ok; then :
5490
5491 else
5492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5494 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5495 See \`config.log' for more details" "$LINENO" 5; }
5496 fi
5497
5498 ac_ext=c
5499 ac_cpp='$CPP $CPPFLAGS'
5500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5503
5504
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5506 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5507 if ${ac_cv_path_GREP+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -z "$GREP"; then
5511 ac_path_GREP_found=false
5512 # Loop through the user's path and test for each of PROGNAME-LIST
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5515 do
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_prog in grep ggrep; do
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5521 as_fn_executable_p "$ac_path_GREP" || continue
5522 # Check for GNU ac_path_GREP and select it if it is found.
5523 # Check for GNU $ac_path_GREP
5524 case `"$ac_path_GREP" --version 2>&1` in
5525 *GNU*)
5526 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5527 *)
5528 ac_count=0
5529 $as_echo_n 0123456789 >"conftest.in"
5530 while :
5531 do
5532 cat "conftest.in" "conftest.in" >"conftest.tmp"
5533 mv "conftest.tmp" "conftest.in"
5534 cp "conftest.in" "conftest.nl"
5535 $as_echo 'GREP' >> "conftest.nl"
5536 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5537 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5538 as_fn_arith $ac_count + 1 && ac_count=$as_val
5539 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5540 # Best one so far, save it but keep looking for a better one
5541 ac_cv_path_GREP="$ac_path_GREP"
5542 ac_path_GREP_max=$ac_count
5543 fi
5544 # 10*(2^10) chars as input seems more than enough
5545 test $ac_count -gt 10 && break
5546 done
5547 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5548 esac
5549
5550 $ac_path_GREP_found && break 3
5551 done
5552 done
5553 done
5554 IFS=$as_save_IFS
5555 if test -z "$ac_cv_path_GREP"; then
5556 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5557 fi
5558 else
5559 ac_cv_path_GREP=$GREP
5560 fi
5561
5562 fi
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5564 $as_echo "$ac_cv_path_GREP" >&6; }
5565 GREP="$ac_cv_path_GREP"
5566
5567
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5569 $as_echo_n "checking for egrep... " >&6; }
5570 if ${ac_cv_path_EGREP+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5574 then ac_cv_path_EGREP="$GREP -E"
5575 else
5576 if test -z "$EGREP"; then
5577 ac_path_EGREP_found=false
5578 # Loop through the user's path and test for each of PROGNAME-LIST
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5581 do
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_prog in egrep; do
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5587 as_fn_executable_p "$ac_path_EGREP" || continue
5588 # Check for GNU ac_path_EGREP and select it if it is found.
5589 # Check for GNU $ac_path_EGREP
5590 case `"$ac_path_EGREP" --version 2>&1` in
5591 *GNU*)
5592 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5593 *)
5594 ac_count=0
5595 $as_echo_n 0123456789 >"conftest.in"
5596 while :
5597 do
5598 cat "conftest.in" "conftest.in" >"conftest.tmp"
5599 mv "conftest.tmp" "conftest.in"
5600 cp "conftest.in" "conftest.nl"
5601 $as_echo 'EGREP' >> "conftest.nl"
5602 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5604 as_fn_arith $ac_count + 1 && ac_count=$as_val
5605 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5606 # Best one so far, save it but keep looking for a better one
5607 ac_cv_path_EGREP="$ac_path_EGREP"
5608 ac_path_EGREP_max=$ac_count
5609 fi
5610 # 10*(2^10) chars as input seems more than enough
5611 test $ac_count -gt 10 && break
5612 done
5613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5614 esac
5615
5616 $ac_path_EGREP_found && break 3
5617 done
5618 done
5619 done
5620 IFS=$as_save_IFS
5621 if test -z "$ac_cv_path_EGREP"; then
5622 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5623 fi
5624 else
5625 ac_cv_path_EGREP=$EGREP
5626 fi
5627
5628 fi
5629 fi
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5631 $as_echo "$ac_cv_path_EGREP" >&6; }
5632 EGREP="$ac_cv_path_EGREP"
5633
5634
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5636 $as_echo_n "checking for ANSI C header files... " >&6; }
5637 if ${ac_cv_header_stdc+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5642 #include <stdlib.h>
5643 #include <stdarg.h>
5644 #include <string.h>
5645 #include <float.h>
5646
5647 int
5648 main ()
5649 {
5650
5651 ;
5652 return 0;
5653 }
5654 _ACEOF
5655 if ac_fn_c_try_compile "$LINENO"; then :
5656 ac_cv_header_stdc=yes
5657 else
5658 ac_cv_header_stdc=no
5659 fi
5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5661
5662 if test $ac_cv_header_stdc = yes; then
5663 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5666 #include <string.h>
5667
5668 _ACEOF
5669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5670 $EGREP "memchr" >/dev/null 2>&1; then :
5671
5672 else
5673 ac_cv_header_stdc=no
5674 fi
5675 rm -f conftest*
5676
5677 fi
5678
5679 if test $ac_cv_header_stdc = yes; then
5680 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5683 #include <stdlib.h>
5684
5685 _ACEOF
5686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5687 $EGREP "free" >/dev/null 2>&1; then :
5688
5689 else
5690 ac_cv_header_stdc=no
5691 fi
5692 rm -f conftest*
5693
5694 fi
5695
5696 if test $ac_cv_header_stdc = yes; then
5697 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5698 if test "$cross_compiling" = yes; then :
5699 :
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <ctype.h>
5704 #include <stdlib.h>
5705 #if ((' ' & 0x0FF) == 0x020)
5706 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5707 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5708 #else
5709 # define ISLOWER(c) \
5710 (('a' <= (c) && (c) <= 'i') \
5711 || ('j' <= (c) && (c) <= 'r') \
5712 || ('s' <= (c) && (c) <= 'z'))
5713 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5714 #endif
5715
5716 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5717 int
5718 main ()
5719 {
5720 int i;
5721 for (i = 0; i < 256; i++)
5722 if (XOR (islower (i), ISLOWER (i))
5723 || toupper (i) != TOUPPER (i))
5724 return 2;
5725 return 0;
5726 }
5727 _ACEOF
5728 if ac_fn_c_try_run "$LINENO"; then :
5729
5730 else
5731 ac_cv_header_stdc=no
5732 fi
5733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5734 conftest.$ac_objext conftest.beam conftest.$ac_ext
5735 fi
5736
5737 fi
5738 fi
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5740 $as_echo "$ac_cv_header_stdc" >&6; }
5741 if test $ac_cv_header_stdc = yes; then
5742
5743 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5744
5745 fi
5746
5747 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5748 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5749 inttypes.h stdint.h unistd.h
5750 do :
5751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5752 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5753 "
5754 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5755 cat >>confdefs.h <<_ACEOF
5756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5757 _ACEOF
5758
5759 fi
5760
5761 done
5762
5763
5764 # The cast to long int works around a bug in the HP C Compiler
5765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5767 # This bug is HP SR number 8606223364.
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
5769 $as_echo_n "checking size of size_t... " >&6; }
5770 if ${ac_cv_sizeof_size_t+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
5774
5775 else
5776 if test "$ac_cv_type_size_t" = yes; then
5777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5779 as_fn_error 77 "cannot compute sizeof (size_t)
5780 See \`config.log' for more details" "$LINENO" 5; }
5781 else
5782 ac_cv_sizeof_size_t=0
5783 fi
5784 fi
5785
5786 fi
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
5788 $as_echo "$ac_cv_sizeof_size_t" >&6; }
5789
5790
5791
5792 cat >>confdefs.h <<_ACEOF
5793 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
5794 _ACEOF
5795
5796
5797 # The cast to long int works around a bug in the HP C Compiler
5798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5799 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5800 # This bug is HP SR number 8606223364.
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
5802 $as_echo_n "checking size of unsigned int... " >&6; }
5803 if ${ac_cv_sizeof_unsigned_int+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
5807
5808 else
5809 if test "$ac_cv_type_unsigned_int" = yes; then
5810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5812 as_fn_error 77 "cannot compute sizeof (unsigned int)
5813 See \`config.log' for more details" "$LINENO" 5; }
5814 else
5815 ac_cv_sizeof_unsigned_int=0
5816 fi
5817 fi
5818
5819 fi
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
5821 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
5822
5823
5824
5825 cat >>confdefs.h <<_ACEOF
5826 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
5827 _ACEOF
5828
5829
5830 if test "$ac_cv_sizeof_size_t" != "$ac_cv_sizeof_unsigned_int" ; then
5831 cppad_size_t_not_unsigned_int=1
5832
5833 else
5834 cppad_size_t_not_unsigned_int=0
5835
5836 fi
5837
5838 if test "$stdvector$boostvector$eigenvector" = "nonono" ; then
5839 cppad_cppadvector=1
5840
5841 else
5842 cppad_cppadvector=0
5843
5844 fi
5845
5846 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
5847 if test "x$ac_cv_func_gettimeofday" = xyes; then :
5848 gettimeofday="yes"
5849 else
5850 gettimeofday="no"
5851
5852 fi
5853
5854 if test "$gettimeofday" = "yes" ; then
5855 cppad_has_gettimeofday=1
5856
5857 else
5858 cppad_has_gettimeofday=0
5859
5860 fi
5861
5862
5863 if test -n "$ac_tool_prefix"; then
5864 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5865 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_RANLIB+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$RANLIB"; then
5872 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5876 do
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5884 fi
5885 done
5886 done
5887 IFS=$as_save_IFS
5888
5889 fi
5890 fi
5891 RANLIB=$ac_cv_prog_RANLIB
5892 if test -n "$RANLIB"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5894 $as_echo "$RANLIB" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5898 fi
5899
5900
5901 fi
5902 if test -z "$ac_cv_prog_RANLIB"; then
5903 ac_ct_RANLIB=$RANLIB
5904 # Extract the first word of "ranlib", so it can be a program name with args.
5905 set dummy ranlib; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 if test -n "$ac_ct_RANLIB"; then
5912 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5913 else
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 for as_dir in $PATH
5916 do
5917 IFS=$as_save_IFS
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_ac_ct_RANLIB="ranlib"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 break 2
5924 fi
5925 done
5926 done
5927 IFS=$as_save_IFS
5928
5929 fi
5930 fi
5931 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5932 if test -n "$ac_ct_RANLIB"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5934 $as_echo "$ac_ct_RANLIB" >&6; }
5935 else
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5938 fi
5939
5940 if test "x$ac_ct_RANLIB" = x; then
5941 RANLIB=":"
5942 else
5943 case $cross_compiling:$ac_tool_warned in
5944 yes:)
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5947 ac_tool_warned=yes ;;
5948 esac
5949 RANLIB=$ac_ct_RANLIB
5950 fi
5951 else
5952 RANLIB="$ac_cv_prog_RANLIB"
5953 fi
5954
5955
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using Microsoft C++ compiler" >&5
5957 $as_echo_n "checking whether using Microsoft C++ compiler... " >&6; }
5958 if test "$CXX" == "cl" || test "$CXX" == "icl"; then
5959 CppAD_MS_COMPILER_TRUE=
5960 CppAD_MS_COMPILER_FALSE='#'
5961 else
5962 CppAD_MS_COMPILER_TRUE='#'
5963 CppAD_MS_COMPILER_FALSE=
5964 fi
5965
5966 if test "$CXX" == "cl" || test "$CXX" == "icl"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5968 $as_echo "yes" >&6; }
5969 else
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5972 fi
5973
5974
5975
5976
5977
5978 ac_ext=c
5979 ac_cpp='$CPP $CPPFLAGS'
5980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5984 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5985 # On Suns, sometimes $CPP names a directory.
5986 if test -n "$CPP" && test -d "$CPP"; then
5987 CPP=
5988 fi
5989 if test -z "$CPP"; then
5990 if ${ac_cv_prog_CPP+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 # Double quotes because CPP needs to be expanded
5994 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5995 do
5996 ac_preproc_ok=false
5997 for ac_c_preproc_warn_flag in '' yes
5998 do
5999 # Use a header file that comes with gcc, so configuring glibc
6000 # with a fresh cross-compiler works.
6001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6002 # <limits.h> exists even on freestanding compilers.
6003 # On the NeXT, cc -E runs the code through the compiler's parser,
6004 # not just through cpp. "Syntax error" is here to catch this case.
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 #ifdef __STDC__
6008 # include <limits.h>
6009 #else
6010 # include <assert.h>
6011 #endif
6012 Syntax error
6013 _ACEOF
6014 if ac_fn_c_try_cpp "$LINENO"; then :
6015
6016 else
6017 # Broken: fails on valid input.
6018 continue
6019 fi
6020 rm -f conftest.err conftest.i conftest.$ac_ext
6021
6022 # OK, works on sane cases. Now check whether nonexistent headers
6023 # can be detected and how.
6024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6026 #include <ac_nonexistent.h>
6027 _ACEOF
6028 if ac_fn_c_try_cpp "$LINENO"; then :
6029 # Broken: success on invalid input.
6030 continue
6031 else
6032 # Passes both tests.
6033 ac_preproc_ok=:
6034 break
6035 fi
6036 rm -f conftest.err conftest.i conftest.$ac_ext
6037
6038 done
6039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6040 rm -f conftest.i conftest.err conftest.$ac_ext
6041 if $ac_preproc_ok; then :
6042 break
6043 fi
6044
6045 done
6046 ac_cv_prog_CPP=$CPP
6047
6048 fi
6049 CPP=$ac_cv_prog_CPP
6050 else
6051 ac_cv_prog_CPP=$CPP
6052 fi
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6054 $as_echo "$CPP" >&6; }
6055 ac_preproc_ok=false
6056 for ac_c_preproc_warn_flag in '' yes
6057 do
6058 # Use a header file that comes with gcc, so configuring glibc
6059 # with a fresh cross-compiler works.
6060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6061 # <limits.h> exists even on freestanding compilers.
6062 # On the NeXT, cc -E runs the code through the compiler's parser,
6063 # not just through cpp. "Syntax error" is here to catch this case.
6064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6066 #ifdef __STDC__
6067 # include <limits.h>
6068 #else
6069 # include <assert.h>
6070 #endif
6071 Syntax error
6072 _ACEOF
6073 if ac_fn_c_try_cpp "$LINENO"; then :
6074
6075 else
6076 # Broken: fails on valid input.
6077 continue
6078 fi
6079 rm -f conftest.err conftest.i conftest.$ac_ext
6080
6081 # OK, works on sane cases. Now check whether nonexistent headers
6082 # can be detected and how.
6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6085 #include <ac_nonexistent.h>
6086 _ACEOF
6087 if ac_fn_c_try_cpp "$LINENO"; then :
6088 # Broken: success on invalid input.
6089 continue
6090 else
6091 # Passes both tests.
6092 ac_preproc_ok=:
6093 break
6094 fi
6095 rm -f conftest.err conftest.i conftest.$ac_ext
6096
6097 done
6098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6099 rm -f conftest.i conftest.err conftest.$ac_ext
6100 if $ac_preproc_ok; then :
6101
6102 else
6103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6105 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6106 See \`config.log' for more details" "$LINENO" 5; }
6107 fi
6108
6109 ac_ext=c
6110 ac_cpp='$CPP $CPPFLAGS'
6111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6114
6115
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6117 $as_echo_n "checking for inline... " >&6; }
6118 if ${ac_cv_c_inline+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 ac_cv_c_inline=no
6122 for ac_kw in inline __inline__ __inline; do
6123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6125 #ifndef __cplusplus
6126 typedef int foo_t;
6127 static $ac_kw foo_t static_foo () {return 0; }
6128 $ac_kw foo_t foo () {return 0; }
6129 #endif
6130
6131 _ACEOF
6132 if ac_fn_c_try_compile "$LINENO"; then :
6133 ac_cv_c_inline=$ac_kw
6134 fi
6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6136 test "$ac_cv_c_inline" != no && break
6137 done
6138
6139 fi
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6141 $as_echo "$ac_cv_c_inline" >&6; }
6142
6143 case $ac_cv_c_inline in
6144 inline | yes) ;;
6145 *)
6146 case $ac_cv_c_inline in
6147 no) ac_val=;;
6148 *) ac_val=$ac_cv_c_inline;;
6149 esac
6150 cat >>confdefs.h <<_ACEOF
6151 #ifndef __cplusplus
6152 #define inline $ac_val
6153 #endif
6154 _ACEOF
6155 ;;
6156 esac
6157
68606158
68616159 # Make sure we can run config.sub.
68626160 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
77357033 cppad_url="http://www.coin-or.org/CppAD"
77367034
77377035 if test "$prefix" == "NONE" ; then
7738 cppad_cflags_value="-I$HOME/include"
7739 cppad_libs_value="-L$HOME/lib"
7740 else
7741 cppad_cflags_value="-I$prefix/include"
7742 cppad_libs_value="-L$prefix/lib"
7036 cppad_pkgconfig_cflags_value="-I$HOME/include"
7037 cppad_pkgconfig_libs_value="-L$HOME/lib"
7038 else
7039 cppad_pkgconfig_cflags_value="-I$prefix/include"
7040 cppad_pkgconfig_libs_value="-L$prefix/lib"
77437041 fi
77447042 if test "$POSTFIX_DIR" != "" ; then
7745 cppad_cflags_value="$cppad_cflags_value/$POSTFIX_DIR"
7746 cppad_libs_value="$cppad_libs_value/$POSTFIX_DIR"
7043 cppad_pkgconfig_cflags_value="$cppad_cflags_value/$POSTFIX_DIR"
7044 cppad_pkgconfig_libs_value="$cppad_pkgconfig_libs_value/$POSTFIX_DIR"
77477045 fi
77487046 if test "$IPOPT_DIR" == "" ; then
7749 cppad_libs_value=""
7750 cppad_requires_value=""
7751 else
7752 cppad_libs_value="$cppad_libs_value -lcppad_ipopt"
7753 cppad_requires_value="ipopt"
7754 fi
7755 cppad_cflags="$cppad_cflags_value"
7756
7757 cppad_libs="$cppad_libs_value"
7758
7759 cppad_requires="$cppad_requires_value"
7047 cppad_pkgconfig_libs_value=""
7048 cppad_pkgconfig_requires_value=""
7049 else
7050 cppad_pkgconfig_libs_value="$cppad_pkgconfig_libs_value -lcppad_ipopt"
7051 cppad_pkgconfig_requires_value="ipopt"
7052 fi
7053 cppad_cflags="$cppad_pkgconfig_cflags_value"
7054
7055 cppad_libs="$cppad_pkgconfig_libs_value"
7056
7057 cppad_requires="$cppad_pkgconfig_requires_value"
77607058
77617059 cppad_SOURCE_DIR=${ABS_TOP_SRCDIR}
77627060
79317229 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
79327230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79337231 fi
7934 if test -z "${CppAD_PKG_CONFIG_TRUE}" && test -z "${CppAD_PKG_CONFIG_FALSE}"; then
7935 as_fn_error $? "conditional \"CppAD_PKG_CONFIG\" was never defined.
7936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7937 fi
7938 if test -z "${CppAD_HAVE_AR_TRUE}" && test -z "${CppAD_HAVE_AR_FALSE}"; then
7939 as_fn_error $? "conditional \"CppAD_HAVE_AR\" was never defined.
7940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7941 fi
7942 if test -z "${CppAD_DOCUMENTATION_TRUE}" && test -z "${CppAD_DOCUMENTATION_FALSE}"; then
7943 as_fn_error $? "conditional \"CppAD_DOCUMENTATION\" was never defined.
7944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7945 fi
7946 if test -z "${CppAD_POSTFIX_TRUE}" && test -z "${CppAD_POSTFIX_FALSE}"; then
7947 as_fn_error $? "conditional \"CppAD_POSTFIX\" was never defined.
7948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7949 fi
7950 if test -z "${CppAD_ADOLC_TRUE}" && test -z "${CppAD_ADOLC_FALSE}"; then
7951 as_fn_error $? "conditional \"CppAD_ADOLC\" was never defined.
7952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7953 fi
7954 if test -z "${CppAD_EIGEN_DIR_TRUE}" && test -z "${CppAD_EIGEN_DIR_FALSE}"; then
7955 as_fn_error $? "conditional \"CppAD_EIGEN_DIR\" was never defined.
7956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7957 fi
7958 if test -z "${CppAD_FADBAD_TRUE}" && test -z "${CppAD_FADBAD_FALSE}"; then
7959 as_fn_error $? "conditional \"CppAD_FADBAD\" was never defined.
7960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7961 fi
7962 if test -z "${CppAD_SACADO_TRUE}" && test -z "${CppAD_SACADO_FALSE}"; then
7963 as_fn_error $? "conditional \"CppAD_SACADO\" was never defined.
7964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7965 fi
7966 if test -z "${CppAD_IPOPT_TRUE}" && test -z "${CppAD_IPOPT_FALSE}"; then
7967 as_fn_error $? "conditional \"CppAD_IPOPT\" was never defined.
7968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7969 fi
7970 if test -z "${CppAD_BOOST_DIR_TRUE}" && test -z "${CppAD_BOOST_DIR_FALSE}"; then
7971 as_fn_error $? "conditional \"CppAD_BOOST_DIR\" was never defined.
7972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7973 fi
7974 if test -z "${CppAD_OPENMP_TRUE}" && test -z "${CppAD_OPENMP_FALSE}"; then
7975 as_fn_error $? "conditional \"CppAD_OPENMP\" was never defined.
7976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7977 fi
79787232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
79797233 $as_echo_n "checking that generated files are newer than configure... " >&6; }
79807234 if test -n "$am_sleep_pid"; then
79837237 fi
79847238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
79857239 $as_echo "done" >&6; }
7240 if test -n "$EXEEXT"; then
7241 am__EXEEXT_TRUE=
7242 am__EXEEXT_FALSE='#'
7243 else
7244 am__EXEEXT_TRUE='#'
7245 am__EXEEXT_FALSE=
7246 fi
7247
7248 if test -z "${CppAD_DOCUMENTATION_TRUE}" && test -z "${CppAD_DOCUMENTATION_FALSE}"; then
7249 as_fn_error $? "conditional \"CppAD_DOCUMENTATION\" was never defined.
7250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7251 fi
7252 if test -z "${CppAD_POSTFIX_TRUE}" && test -z "${CppAD_POSTFIX_FALSE}"; then
7253 as_fn_error $? "conditional \"CppAD_POSTFIX\" was never defined.
7254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7255 fi
7256 if test -z "${CppAD_ADOLC_TRUE}" && test -z "${CppAD_ADOLC_FALSE}"; then
7257 as_fn_error $? "conditional \"CppAD_ADOLC\" was never defined.
7258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7259 fi
7260 if test -z "${CppAD_EIGEN_DIR_TRUE}" && test -z "${CppAD_EIGEN_DIR_FALSE}"; then
7261 as_fn_error $? "conditional \"CppAD_EIGEN_DIR\" was never defined.
7262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7263 fi
7264 if test -z "${CppAD_FADBAD_TRUE}" && test -z "${CppAD_FADBAD_FALSE}"; then
7265 as_fn_error $? "conditional \"CppAD_FADBAD\" was never defined.
7266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7267 fi
7268 if test -z "${CppAD_SACADO_TRUE}" && test -z "${CppAD_SACADO_FALSE}"; then
7269 as_fn_error $? "conditional \"CppAD_SACADO\" was never defined.
7270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7271 fi
7272 if test -z "${CppAD_IPOPT_TRUE}" && test -z "${CppAD_IPOPT_FALSE}"; then
7273 as_fn_error $? "conditional \"CppAD_IPOPT\" was never defined.
7274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7275 fi
7276 if test -z "${CppAD_BOOST_DIR_TRUE}" && test -z "${CppAD_BOOST_DIR_FALSE}"; then
7277 as_fn_error $? "conditional \"CppAD_BOOST_DIR\" was never defined.
7278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7279 fi
7280 if test -z "${CppAD_OPENMP_TRUE}" && test -z "${CppAD_OPENMP_FALSE}"; then
7281 as_fn_error $? "conditional \"CppAD_OPENMP\" was never defined.
7282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7283 fi
79867284 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
79877285 as_fn_error $? "conditional \"AMDEP\" was never defined.
79887286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79897287 fi
7288 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7289 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7291 fi
79907292 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
79917293 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
79927294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79937295 fi
7994 if test -n "$EXEEXT"; then
7995 am__EXEEXT_TRUE=
7996 am__EXEEXT_FALSE='#'
7997 else
7998 am__EXEEXT_TRUE='#'
7999 am__EXEEXT_FALSE=
8000 fi
8001
8002 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8003 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7296 if test -z "${CppAD_PKG_CONFIG_TRUE}" && test -z "${CppAD_PKG_CONFIG_FALSE}"; then
7297 as_fn_error $? "conditional \"CppAD_PKG_CONFIG\" was never defined.
7298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7299 fi
7300 if test -z "${CppAD_HAVE_AR_TRUE}" && test -z "${CppAD_HAVE_AR_FALSE}"; then
7301 as_fn_error $? "conditional \"CppAD_HAVE_AR\" was never defined.
80047302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80057303 fi
80067304 if test -z "${CppAD_MS_COMPILER_TRUE}" && test -z "${CppAD_MS_COMPILER_FALSE}"; then
84127710 # report actual input values of CONFIG_FILES etc. instead of their
84137711 # values after options handling.
84147712 ac_log="
8415 This file was extended by cppad $as_me 20150000.8, which was
7713 This file was extended by cppad $as_me 20150000.9, which was
84167714 generated by GNU Autoconf 2.69. Invocation command line was
84177715
84187716 CONFIG_FILES = $CONFIG_FILES
84697767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84707768 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
84717769 ac_cs_version="\\
8472 cppad config.status 20150000.8
7770 cppad config.status 20150000.9
84737771 configured by $0, generated by GNU Autoconf 2.69,
84747772 with options \\"\$ac_cs_config\\"
84757773
0 dnl $Id: configure.ac 3647 2015-02-15 01:06:13Z bradbell $
0 dnl $Id: configure.ac 3661 2015-02-23 22:19:20Z bradbell $
11 dnl ---------------------------------------------------------------------------
22 dnl CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
33 dnl
44 dnl CppAD is distributed under multiple licenses. This distribution is under
55 dnl the terms of the
66 dnl GNU General Public License Version 3.
7 dnl
7 dnl
88 dnl A copy of this license is included in the COPYING file of this distribution.
99 dnl Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
1010 dnl ---------------------------------------------------------------------------
1111 dnl
1212 dnl Process this file with autoconf to produce a configure script.
1313 dnl package version bug-report
14 AC_INIT([cppad], [20150000.8], [cppad@list.coin-or.org])
14 AC_INIT([cppad], [20150000.9], [cppad@list.coin-or.org])
1515 AM_SILENT_RULES([yes])
1616
1717 dnl By defalut disable maintainer mode when running configure;
2525 dnl cygwin end delete:
2626 dnl cygwin replace: AC_PREFIX_DEFAULT(/usr)
2727
28 dnl --------------------------------------------------------------------------
29 dnl Check for programs
30
31 AC_CHECK_PROG(have_pkg_config, [pkg-config], [yes], [no])
32 AM_CONDITIONAL(CppAD_PKG_CONFIG, test "$have_pkg_config" = "yes")
33
34 AM_PROG_AR()
35 AM_CONDITIONAL(CppAD_HAVE_AR, test "$AR" = "ar")
36 if test "$AR" != "ar"; then
37 AC_MSG_WARN(
38 [cannot build any libraries because ar is missing; e.g,, speed/* not built]
39 )
40 fi
28 dnl Run any macros required for proper operation of generated makefiles
29 dnl nostdinc: Do not define standard include directories in generated makefiles
30 dnl Note this must come before AC_PROG_CC; see
31 dnl http://lists.gnu.org/archive/html/automake/2010-08/msg00113.html
32 AM_INIT_AUTOMAKE([nostdinc subdir-objects -Wall])
4133
4234 dnl ----------------------------------------------------------------------
4335 AC_MSG_NOTICE([*** Check command line arguments that are longer used ****])
6153 if test "$profiling" = "yes" ; then
6254 AC_MSG_ERROR([--with-profiling not necessary, see install instructions.])
6355 fi
64 dnl
56 dnl
6557 AC_ARG_WITH(Speed, AC_HELP_STRING(
6658 [--with-Speed], [is not necessary, see install instructions.]),
6759 [Speed="yes"], [Speed="no"]
6961 if test "$Speed" = "yes" ; then
7062 AC_MSG_ERROR([--with-Speed not necessary, see install instructions.])
7163 fi
72 dnl
64 dnl
7365 AC_ARG_WITH(Introduction, AC_HELP_STRING(
7466 [--with-Introduction], [is not necessary, see install instructions.]),
7567 [Introduction="yes"], [Introduction="no"]
7769 if test "$Introduction" = "yes" ; then
7870 AC_MSG_ERROR([--with-Introduction not necessary, see install instructions.])
7971 fi
80 dnl
72 dnl
8173 AC_ARG_WITH(Example, AC_HELP_STRING(
8274 [--with-Example], [is not necessary, see install instructions.]),
8375 [Example="yes"], [Example="no"]
8577 if test "$Example" = "yes" ; then
8678 AC_MSG_ERROR([--with-Example not necessary, see install instructions.])
8779 fi
88 dnl
80 dnl
8981 AC_ARG_WITH(TestMore, AC_HELP_STRING(
9082 [--with-TestMore], [is not necessary, see install instructions.]),
9183 [TestMore="yes"], [TestMore="no"]
9385 if test "$TestMore" = "yes" ; then
9486 AC_MSG_ERROR([--with-TestMore not necessary, see install instructions.])
9587 fi
96 dnl
88 dnl
9789 AC_ARG_WITH(PrintFor, AC_HELP_STRING(
9890 [--with-PrintFor], [is not necessary, see install instructions.]),
9991 [PrintFor="yes"], [PrintFor="no"]
10395 fi
10496 dnl --------------------------------------------------------------------------
10597 AC_MSG_NOTICE([****** Check command line arguments that are used ***********])
98
99 dnl -----------------------------------------------------------------------
100 dnl The case where enable_msvc != no is defined and supported by Ted Ralphs
101 AC_MSG_CHECKING([--enable-msvc])
102 AC_ARG_ENABLE([msvc],
103 [AC_HELP_STRING([--enable-msvc],
104 [Prefer (i)cl/ifort/link over GNU on MinGW/Cygwin.])],
105 [enable_msvc=$enableval],
106 [enable_msvc=no]
107 )
108 AC_MSG_RESULT([$enable_msvc])
109
110
106111 dnl the prefix directory corresponding to CppAD -------------------------
107112 dnl The following seems to work but NONE is not in autoconf specifications
108113 AC_MSG_CHECKING([--prefix])
115120 dnl Are we installing the documentation -----------------------------------
116121 dnl cygwin begin delete:
117122 AC_MSG_CHECKING([--with-Documentation])
118 AC_ARG_WITH(Documentation,
123 AC_ARG_WITH(Documentation,
119124 AC_HELP_STRING([--with-Documentation], [default is no]),
120125 [Documentation="yes"],
121126 [Documentation="no"]
127132
128133 dnl Are we using standard vectors ----------------------------------------
129134 AC_MSG_CHECKING([--with-stdvector])
130 AC_ARG_WITH(stdvector,
135 AC_ARG_WITH(stdvector,
131136 AC_HELP_STRING([--with-stdvector], [default is no]),
132137 [stdvector="yes"],
133138 [stdvector="no"]
141146
142147 dnl Are we using boost vectors ----------------------------------------
143148 AC_MSG_CHECKING([--with-boostvector])
144 AC_ARG_WITH(boostvector,
149 AC_ARG_WITH(boostvector,
145150 AC_HELP_STRING([--with-boostvector], [default is no]),
146151 [boostvector="yes"],
147152 [boostvector="no"]
158163
159164 dnl Are we using eigen vectors ----------------------------------------
160165 AC_MSG_CHECKING([--with-eigenvector])
161 AC_ARG_WITH(eigenvector,
166 AC_ARG_WITH(eigenvector,
162167 AC_HELP_STRING([--with-eigenvector], [default is no]),
163168 [eigenvector="yes"],
164169 [eigenvector="no"]
178183
179184 dnl Are we using sparse_set or sparse_list ----------------------------
180185 AC_MSG_CHECKING([--with-sparse_set])
181 AC_ARG_WITH(sparse_set,
186 AC_ARG_WITH(sparse_set,
182187 AC_HELP_STRING([--with-sparse_set], [default is not specified]),
183188 [sparse_set="yes"],
184189 [sparse_set="no"]
186191 AC_MSG_RESULT([$sparse_set])
187192 dnl
188193 AC_MSG_CHECKING([--with-sparse_list])
189 AC_ARG_WITH(sparse_list,
194 AC_ARG_WITH(sparse_list,
190195 AC_HELP_STRING([--with-sparse_list], [default is not specified]),
191196 [sparse_list="yes"],
192197 [sparse_list="no"]
204209
205210 dnl Are we including an implicit constructor from any type -----------
206211 AC_MSG_CHECKING([--with-implicit_ctor])
207 AC_ARG_WITH(implicit_ctor,
212 AC_ARG_WITH(implicit_ctor,
208213 AC_HELP_STRING(
209 [--with-implicit_ctor],
214 [--with-implicit_ctor],
210215 [include an implicit AD<Base> constructor from any type]
211216 ),
212217 [implicit_ctor="yes"],
221226
222227 dnl The postfix directiory corresponding to CppAD ------------------------
223228 AC_MSG_CHECKING([POSTFIX_DIR])
224 AC_ARG_VAR(POSTFIX_DIR,
229 AC_ARG_VAR(POSTFIX_DIR,
225230 [postfix directory for CppAD installation]
226231 )
227232 AM_CONDITIONAL(CppAD_POSTFIX, test "$POSTFIX_DIR" != "")
233238
234239 dnl The prefix corresponding to the installation of Adolc ---------------
235240 AC_MSG_CHECKING([ADOLC_DIR])
236 AC_ARG_VAR(ADOLC_DIR,
241 AC_ARG_VAR(ADOLC_DIR,
237242 [value of configure prefix directory during Adolc install]
238243 )
239244 AM_CONDITIONAL(CppAD_ADOLC, test "$ADOLC_DIR" != "")
248253
249254 dnl The prefix corresponding to the installation of Eigen ---------------
250255 AC_MSG_CHECKING([EIGEN_DIR])
251 AC_ARG_VAR(EIGEN_DIR,
256 AC_ARG_VAR(EIGEN_DIR,
252257 [value of configure prefix directory during Eigen install]
253258 )
254259 AM_CONDITIONAL(CppAD_EIGEN_DIR, test "$EIGEN_DIR" != "")
328333 )
329334 # cxx_flags for fadbad and eigen
330335 if test "$CXX_FLAGS" != "" ; then
331 AC_MSG_RESULT([$CXX_FLAGS])
336 AC_MSG_RESULT([$CXX_FLAGS])
332337 cxx_flags_fadbad=`echo "$CXX_FLAGS" | sed -e 's|-Wshadow||'`
333 cxx_flags_eigen="$cxx_flags_fadbda -Wno-long-long"
338 cxx_flags_eigen="$cxx_flags_fadbda -Wno-long-long"
334339 else
335340 AC_MSG_RESULT([no])
336341 cxx_flags_fadbad=""
337342 cxx_flags_eigen=""
338 fi
343 fi
339344 AC_SUBST(CXX_FLAGS_FADBAD, "$cxx_flags_fadbad")
340345 AC_SUBST(CXX_FLAGS_EIGEN, "$cxx_flags_eigen")
341346
345350 [ flags that instruct compiler to interpret OpenMP directrives ]
346351 )
347352 if test "$OPENMP_FLAGS" != "" ; then
348 AC_MSG_RESULT([$OPENMP_FLAGS])
349 else
350 AC_MSG_RESULT([no])
351 fi
353 AC_MSG_RESULT([$OPENMP_FLAGS])
354 else
355 AC_MSG_RESULT([no])
356 fi
352357 AM_CONDITIONAL(CppAD_OPENMP, test "$OPENMP_FLAGS" != "")
353358
354359 dnl The compiler OpenMP flags MAX_NUM_THREADS -------------------------------
357362 [ maximum number of threads that can be used with CppAD ]
358363 )
359364 if test "$MAX_NUM_THREADS" != "" ; then
360 AC_MSG_RESULT([$MAX_NUM_THREADS])
365 AC_MSG_RESULT([$MAX_NUM_THREADS])
361366 if test "$MAX_NUM_THREADS" -lt "4" ; then
362367 AC_MSG_ERROR(
363368 [ MAX_NUM_THREADS=$MAX_NUM_THREADS is less than 4 ]
367372 else
368373 max_num_threads="48"
369374 AC_MSG_RESULT([no, using default value $max_num_threads])
370 fi
375 fi
371376 AC_SUBST(cppad_max_num_threads, [$max_num_threads])
372377
373378 dnl type used for addresses in AD tapes [ default = unsigned int ] -----------
435440 fi
436441 AC_MSG_NOTICE([********** End Checking Command Line arguments ***************])
437442
438 dnl auto-tools version does not support ColPack coloring
443 dnl --------------------------------------------------------------------------
444 if test "$enable_msvc" == "no"
445 then
446 cxx_list="g++ clang++ CC pgCC icpc gpp cxx cc++"
447 cc_list="gcc clang cc pgcc icc"
448 fc_list="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77"
449 else
450 dnl This case defined and supported by Ted Ralphs
451 cxx_list="icl cl g++"
452 cc_list="icl cl gcc"
453 fc_list="ifort gfortran"
454 fi
455 dnl --------------------------------------------------------------------------
456
457 dnl AC_PROG_CXX([compiler-search-list]) outputs CXX as C++ compiler to use
458 AC_PROG_CXX([$cxx_list])
459 dnl erase any setting of CXXFLAGS, see CXX_FLAGS documentation
460 AC_SUBST(CXXFLAGS, "")
461
462 dnl AC_PROG_CC([compiler-search-list]) outputs CC as C++ compiler to use
463 AC_PROG_CC([$cc_list])
464 dnl erase any setting of CFLAGS
465 AC_SUBST(CFLAGS, "")
466
467 dnl AC_PROG_FC ([compiler-search-list], [dialect])
468 AC_PROG_FC([$fc_list])
469 dnl not compiling any fortran so no need to touch flags
470
471 dnl Check for pkgconfig
472 AC_CHECK_PROG(have_pkg_config, [pkg-config], [yes], [no])
473 AM_CONDITIONAL(CppAD_PKG_CONFIG, test "$have_pkg_config" = "yes")
474
475 dnl check if we can build libraries
476 AM_PROG_AR()
477 AM_CONDITIONAL(CppAD_HAVE_AR, test "$AR" = "ar")
478 if test "$AR" != "ar"; then
479 AC_MSG_WARN(
480 [cannot build any libraries because ar is missing; e.g,, speed/* not built]
481 )
482 fi
483
484
485 dnl auto-tools version does not support ColPack coloring
439486 AC_SUBST(cppad_has_colpack, 0)
440487
441488 dnl auto-tools version cannot use c++11 compiler
445492 AC_SUBST(cppad_has_cstdint_8_to_64, 0)
446493 AC_SUBST(cppad_compiler_has_erf, 0)
447494
448 dnl Determine if size_t has same size as unsigned int
495 dnl Determine if size_t has same size as unsigned int
449496 AC_CHECK_SIZEOF([size_t])
450497 AC_CHECK_SIZEOF([unsigned int])
451498 if test "$ac_cv_sizeof_size_t" != "$ac_cv_sizeof_unsigned_int" ; then
457504 dnl Determine which definition we are using for CPPAD_TESTVECTOR
458505 if test "$stdvector$boostvector$eigenvector" = "nonono" ; then
459506 AC_SUBST(cppad_cppadvector, 1)
460 else
507 else
461508 AC_SUBST(cppad_cppadvector, 0)
462509 fi
463510
473520 AC_SUBST(cppad_has_gettimeofday, 0)
474521 fi
475522
476 dnl Run any macros required for proper operation of generated makefiles
477 dnl nostdinc: Do not define standard include directories in generated makefiles
478 AM_INIT_AUTOMAKE([nostdinc subdir-objects -Wall])
479
480523 dnl Use LIBTOOL for cppad_ipopt ?
481524 dnl AC_PROG_LIBTOOL
482525
483526 dnl Determine if ranlib is present and where it is if present (set RANLIB)
484527 AC_PROG_RANLIB
485528
486 dnl AC_PROG_CXX([compiler-search-list]) outputs CXX as C++ compiler to use
487 AC_PROG_CXX
488529 AC_MSG_CHECKING([whether using Microsoft C++ compiler])
489530 AM_CONDITIONAL(CppAD_MS_COMPILER, test "$CXX" == "cl" || test "$CXX" == "icl")
490531 if test "$CXX" == "cl" || test "$CXX" == "icl"; then
492533 else
493534 AC_MSG_RESULT([no])
494535 fi
495 dnl erase any setting of CXXFLAGS, see CXX_FLAGS documentation
496 AC_SUBST(CXXFLAGS, "")
497
498
499 dnl AC_PROG_CC([compiler-search-list]) outputs CC as C++ compiler to use
500 AC_PROG_CC
501 AC_MSG_CHECKING([whether using Microsoft C++ compiler])
502 dnl erase any setting of CFLAGS
503 AC_SUBST(CFLAGS, "")
536
537
504538
505539 dnl Have configure check source directory to see if cppad/CppAD.h is there
506540 AC_CONFIG_SRCDIR(cppad/CppAD.h)
692726 fi
693727 AC_MSG_RESULT([cppad_ipopt_nlp libraries: $CPPAD_IPOPT_LIBS])
694728 dnl --------------------------------------------------------------------------
695 dnl names set here so same cppad.pc.in works for both with cmake and autoconf.
729 dnl Names set here so same cppad.pc.in works for both with cmake and autoconf.
730 dnl (note that autoconf configuration does not allow for Colpack).
696731 dnl
697732 AC_SUBST(cppad_description, "Differentiation of C++ Algorithms")
698733 AC_SUBST(cppad_version, ${PACKAGE_VERSION} )
699734 AC_SUBST(cppad_url, "http://www.coin-or.org/CppAD")
700735 if test "$prefix" == "NONE" ; then
701 cppad_cflags_value="-I$HOME/include"
702 cppad_libs_value="-L$HOME/lib"
703 else
704 cppad_cflags_value="-I$prefix/include"
705 cppad_libs_value="-L$prefix/lib"
736 cppad_pkgconfig_cflags_value="-I$HOME/include"
737 cppad_pkgconfig_libs_value="-L$HOME/lib"
738 else
739 cppad_pkgconfig_cflags_value="-I$prefix/include"
740 cppad_pkgconfig_libs_value="-L$prefix/lib"
706741 fi
707742 if test "$POSTFIX_DIR" != "" ; then
708 cppad_cflags_value="$cppad_cflags_value/$POSTFIX_DIR"
709 cppad_libs_value="$cppad_libs_value/$POSTFIX_DIR"
743 cppad_pkgconfig_cflags_value="$cppad_cflags_value/$POSTFIX_DIR"
744 cppad_pkgconfig_libs_value="$cppad_pkgconfig_libs_value/$POSTFIX_DIR"
710745 fi
711746 if test "$IPOPT_DIR" == "" ; then
712 cppad_libs_value=""
713 cppad_requires_value=""
714 else
715 cppad_libs_value="$cppad_libs_value -lcppad_ipopt"
716 cppad_requires_value="ipopt"
717 fi
718 AC_SUBST(cppad_cflags, "$cppad_cflags_value")
719 AC_SUBST(cppad_libs, "$cppad_libs_value")
720 AC_SUBST(cppad_requires, "$cppad_requires_value")
721 dnl
722 dnl names set here so cppad.pc-uninstalled works both with cmake and autoconf
747 cppad_pkgconfig_libs_value=""
748 cppad_pkgconfig_requires_value=""
749 else
750 cppad_pkgconfig_libs_value="$cppad_pkgconfig_libs_value -lcppad_ipopt"
751 cppad_pkgconfig_requires_value="ipopt"
752 fi
753 AC_SUBST(cppad_cflags, "$cppad_pkgconfig_cflags_value")
754 AC_SUBST(cppad_libs, "$cppad_pkgconfig_libs_value")
755 AC_SUBST(cppad_requires, "$cppad_pkgconfig_requires_value")
756 dnl
757 dnl names set here so cppad.pc-uninstalled works both with cmake and autoconf
723758 AC_SUBST(cppad_SOURCE_DIR, ${ABS_TOP_SRCDIR} )
724759 dnl
725 dnl names set here so */test_one.sh.in works both with cmake and autoconf
760 dnl names set here so */test_one.sh.in works both with cmake and autoconf
726761 AC_SUBST(adolc_prefix, ${ADOLC_DIR} )
727762 AC_SUBST(eigen_prefix, ${EIGEN_DIR} )
728763 AC_SUBST(ipopt_prefix, ${IPOPT_DIR} )
729764 dnl
730765 dnl -----------------------------------------------------------------------
731 dnl AC_CONFIG_FILES(file-list) for each file in the list, configure will
766 dnl AC_CONFIG_FILES(file-list) for each file in the list, configure will
732767 dnl read file.in, do its substitutions, and create file
733 AC_CONFIG_FILES([
768 AC_CONFIG_FILES([
734769 cppad/configure.hpp
735770 cppad_ipopt/example/test.sh
736771 cppad_ipopt/speed/test.sh
742777 test_more/test_one.sh
743778
744779 makefile
745 compare_c/makefile
780 compare_c/makefile
746781 cppad_ipopt/src/makefile
747782 cppad_ipopt/example/makefile
748783 cppad_ipopt/speed/makefile
749784 cppad_ipopt/test/makefile
750 example/makefile
751 example/atomic/makefile
752 example/ipopt_solve/makefile
753 introduction/get_started/makefile
785 example/makefile
786 example/atomic/makefile
787 example/ipopt_solve/makefile
788 introduction/get_started/makefile
754789 introduction/exp_apx/makefile
755790 multi_thread/makefile
756791 multi_thread/test_multi/makefile
757792 print_for/makefile
758793 speed/adolc/makefile
759 speed/cppad/makefile
760 speed/double/makefile
794 speed/cppad/makefile
795 speed/double/makefile
761796 speed/example/makefile
762797 speed/fadbad/makefile
763798 speed/profile/makefile
764799 speed/profile/gprof.sed
765800 speed/sacado/makefile
766801 speed/src/makefile
767 test_more/makefile
802 test_more/makefile
768803 ])
769 dnl END AC_CONFIG_FILES
804 dnl END AC_CONFIG_FILES
770805 dnl the comment line above is used by ./new_stable.sh
771806
772807 AC_CONFIG_COMMANDS(
192192 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
193193 CYGPATH_W = @CYGPATH_W@
194194
195 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
195 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
196196 # -----------------------------------------------------------------------------
197197 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
198198 #
194194 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
195195 CYGPATH_W = @CYGPATH_W@
196196
197 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
197 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
198198 # -----------------------------------------------------------------------------
199199 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
200200 #
230230 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
231231 CYGPATH_W = @CYGPATH_W@
232232
233 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
233 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
234234 # -----------------------------------------------------------------------------
235235 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
236236 #
180180 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
181181 CYGPATH_W = @CYGPATH_W@
182182
183 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
183 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
184184 # -----------------------------------------------------------------------------
185185 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
186186 #
6363 onmouseover='MouseOver(1)'
6464 onmouseout='MouseOut(1)'
6565 ><img src='_close.gif' name='folder1' align='middle' />
66 <u>cppad-20150000.8: A Package for Differentiation of C++ Algorithms</u></a>
66 <u>cppad-20150000.9: A Package for Differentiation of C++ Algorithms</u></a>
6767
6868 <span id='children1'>
69 <br/><a href="cppad.xml" target="_top">cppad-20150000.8: A Package for Differentiation of C++ Algorithms</a>
69 <br/><a href="cppad.xml" target="_top">cppad-20150000.9: A Package for Differentiation of C++ Algorithms</a>
7070
7171 <br/>&#xA0;&#xA0;&#xA0;&#xA0;<a href="_contents_xml.htm" target="_top">Table of Contents</a>
7272
171171
172172 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/" target="_top">http://www.coin-or.org/download/source/CppAD/</a></td><td><a href="whats_new_09.xml#06-25" target="_top">whats_new_09#06-25</a></td></tr>
173173
174 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.epl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.epl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
175
176 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.gpl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.gpl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
174 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.epl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.epl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
175
176 <tr valign="top"><td><a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.gpl.tgz" target="_top">http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.gpl.tgz</a></td><td><a href="download.xml#Compressed Archives" target="_top">download#Compressed Archives</a></td></tr>
177177
178178 <tr valign="top"><td><a href="http://www.coin-or.org/foundation.html" target="_top">http://www.coin-or.org/foundation.html</a></td><td><a href="cppad.xml#Introduction" target="_top">CppAD#Introduction</a></td></tr>
179179
10091009 &#160;&#160;&#160;&#160;&#160;boost<b>&#xA0;</b>thread<b>&#xA0;</b>example&#160;<a href="a11c_bthread.cpp.xml" target="_top">A&#xA0;Simple&#xA0;Boost&#xA0;Thread&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
10101010 &#160;&#160;&#160;&#160;&#160;OpenMP<b>&#xA0;</b>example&#160;<a href="a11c_pthread.cpp.xml" target="_top">A&#xA0;Simple&#xA0;Parallel&#xA0;Pthread&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
10111011 &#160;&#160;&#160;&#160;&#160;OpenMP<b>&#xA0;</b>example&#160;<a href="a11c_openmp.cpp.xml" target="_top">A&#xA0;Simple&#xA0;OpenMP&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
1012 AD&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1012 AD&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
10131013 &#160;&#160;&#160;&#160;&#160;arithmetic<b>&#xA0;</b>operator&#160;<a href="arithmetic.xml" target="_top">AD&#xA0;Arithmetic&#xA0;Operators&#xA0;and&#xA0;Computed&#xA0;Assignments</a><br/>
10141014 &#160;&#160;&#160;&#160;&#160;assignment&#160;<a href="ad_assign.xml" target="_top">AD&#xA0;Assignment&#xA0;Operator</a><br/>
10151015 &#160;&#160;&#160;&#160;&#160;binary<b>&#xA0;</b>compare<b>&#xA0;</b>operator&#160;<a href="compare.xml" target="_top">AD&#xA0;Binary&#xA0;Comparison&#xA0;Operators</a><br/>
11701170 &#160;&#160;<a href="atomic_hes_sparse.cpp.xml#Test with x_1 Both a Variable and a Parameter" target="_top">Atomic&#xA0;Operation&#xA0;Hessian&#xA0;Sparsity:&#xA0;Example&#xA0;and&#xA0;Test:&#160;Test&#xA0;with&#xA0;x_1&#xA0;Both&#xA0;a&#xA0;Variable&#xA0;and&#xA0;a&#xA0;Parameter</a><br/>
11711171 &#160;&#160;<a href="var2par.cpp.xml" target="_top">Convert&#xA0;an&#xA0;AD&#xA0;Variable&#xA0;to&#xA0;a&#xA0;Parameter:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
11721172 &#160;&#160;<a href="var2par.xml" target="_top">Convert&#xA0;an&#xA0;AD&#xA0;Variable&#xA0;to&#xA0;a&#xA0;Parameter</a><br/>
1173 &#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1173 &#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
11741174 a11c&#160;<a href="thread_test.cpp.xml#a11c" target="_top">Run&#xA0;Multi-Threading&#xA0;Examples&#xA0;and&#xA0;Speed&#xA0;Tests:&#160;a11c</a><br/>
11751175 abort&#160;<a href="abort_recording.cpp.xml" target="_top">Abort&#xA0;Current&#xA0;Recording:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
11761176 &#160;&#160;&#160;&#160;&#160;&#160;<a href="abort_recording.xml" target="_top">Abort&#xA0;Recording&#xA0;of&#xA0;an&#xA0;Operation&#xA0;Sequence</a><br/>
14241424 algorithmic&#160;<a href="introduction.xml#Preface.Algorithmic Differentiation" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation:&#160;Preface.Algorithmic&#xA0;Differentiation</a><br/>
14251425 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
14261426 &#160;&#160;&#160;&#160;&#160;C<b>&#xA0;</b>differentiation&#160;<a href="ad_in_c.cpp.xml" target="_top">Example&#xA0;and&#xA0;Test&#xA0;Linking&#xA0;CppAD&#xA0;to&#xA0;Languages&#xA0;Other&#xA0;than&#xA0;C++</a><br/>
1427 algorithmic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1428 algorithms&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1427 algorithmic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1428 algorithms&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
14291429 alignment&#160;<a href="ta_create_array.xml#Alignment" target="_top">Allocate&#xA0;An&#xA0;Array&#xA0;and&#xA0;Call&#xA0;Default&#xA0;Constructor&#xA0;for&#xA0;its&#xA0;Elements:&#160;Alignment</a><br/>
14301430 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="ta_get_memory.xml#Alignment" target="_top">Get&#xA0;At&#xA0;Least&#xA0;A&#xA0;Specified&#xA0;Amount&#xA0;of&#xA0;Memory:&#160;Alignment</a><br/>
14311431 all&#160;<a href="listallexamples.xml" target="_top">List&#xA0;of&#xA0;All&#xA0;the&#xA0;CppAD&#xA0;Examples</a><br/>
19361936 atomic<b>_</b>user&#160;<a href="atomic_ctor.xml#atomic_user" target="_top">Atomic&#xA0;Function&#xA0;Constructor:&#160;atomic_user</a><br/>
19371937 automatic<br/>
19381938 &#160;&#160;&#160;&#160;&#160;C<b>&#xA0;</b>differentiation&#160;<a href="ad_in_c.cpp.xml" target="_top">Example&#xA0;and&#xA0;Test&#xA0;Linking&#xA0;CppAD&#xA0;to&#xA0;Languages&#xA0;Other&#xA0;than&#xA0;C++</a><br/>
1939 automatic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
1939 automatic<b>&#xA0;</b>differentiation&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
19401940 available&#160;<a href="memory_leak.xml#available" target="_top">Memory&#xA0;Leak&#xA0;Detection:&#160;available</a><br/>
19411941 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="omp_delete_array.xml" target="_top">Return&#xA0;A&#xA0;Raw&#xA0;Array&#xA0;to&#xA0;The&#xA0;Available&#xA0;Memory&#xA0;for&#xA0;a&#xA0;Thread</a><br/>
19421942 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="omp_available.xml" target="_top">Amount&#xA0;of&#xA0;Memory&#xA0;Available&#xA0;for&#xA0;Quick&#xA0;Use&#xA0;by&#xA0;a&#xA0;Thread</a><br/>
21372137 &#160;&#160;&#160;&#160;&#160;compare<b>&#xA0;</b>speed<b>&#xA0;</b>with<b>&#xA0;</b>C<b>++</b>&#160;<a href="compare_c.xml" target="_top">Compare&#xA0;Speed&#xA0;of&#xA0;C&#xA0;and&#xA0;C++</a><br/>
21382138 &#160;&#160;&#160;&#160;&#160;interface<b>&#xA0;</b>to&#160;<a href="interface2c.cpp.xml" target="_top">Interfacing&#xA0;to&#xA0;C:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
21392139 C<b>++</b><br/>
2140 &#160;&#160;&#160;&#160;&#160;algorithm<b>&#xA0;</b>derivative&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2140 &#160;&#160;&#160;&#160;&#160;algorithm<b>&#xA0;</b>derivative&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
21412141 &#160;&#160;&#160;&#160;&#160;compare<b>&#xA0;</b>speed<b>&#xA0;</b>with<b>&#xA0;</b>C&#160;<a href="compare_c.xml" target="_top">Compare&#xA0;Speed&#xA0;of&#xA0;C&#xA0;and&#xA0;C++</a><br/>
21422142 &#160;&#160;&#160;&#160;&#160;numerical<b>&#xA0;</b>template<b>&#xA0;</b>library&#160;<a href="library.xml" target="_top">The&#xA0;CppAD&#xA0;General&#xA0;Purpose&#xA0;Library</a><br/>
21432143 CheckNumericType&#160;<a href="check_numeric_type.cpp.xml" target="_top">The&#xA0;CheckNumericType&#xA0;Function:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
21692169 CPPAD<b>_</b>TRACK<b>_</b>NEW<b>_</b>VEC&#160;<a href="tracknewdel.xml#TrackNewVec.Macro" target="_top">Routines&#xA0;That&#xA0;Track&#xA0;Use&#xA0;of&#xA0;New&#xA0;and&#xA0;Delete:&#160;TrackNewVec.Macro</a><br/>
21702170 CPPAD<b>_</b>USER<b>_</b>ATOMIC&#160;<a href="old_atomic.xml#CPPAD_USER_ATOMIC" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions:&#160;CPPAD_USER_ATOMIC</a><br/>
21712171 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="old_atomic.xml" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions</a><br/>
2172 CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2173 &#160;&#160;&#160;&#160;&#160;namespace&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
2172 CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2173 &#160;&#160;&#160;&#160;&#160;namespace&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
21742174 &#160;&#160;&#160;&#160;&#160;nonlinear<b>&#xA0;</b>programming&#160;<a href="cppad_ipopt_nlp.xml" target="_top">Nonlinear&#xA0;Programming&#xA0;Using&#xA0;the&#xA0;CppAD&#xA0;Interface&#xA0;to&#xA0;Ipopt</a><br/>
2175 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>symbol&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
2175 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>symbol&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
21762176 &#160;&#160;&#160;&#160;&#160;unix<b>&#xA0;</b>install&#160;<a href="installunix.xml" target="_top">Deprecated&#xA0;Unix&#xA0;Test&#xA0;and&#xA0;Installation</a><br/>
21772177 CppAD<b>::</b>vector<br/>
21782178 &#160;&#160;&#160;&#160;&#160;example&#160;<a href="cppad_vector.cpp.xml" target="_top">CppAD::vector&#xA0;Template&#xA0;Class:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
21952195 &#160;&#160;&#160;&#160;<a href="bib.xml#The C++ Programming Language" target="_top">Bibliography:&#160;The&#xA0;C++&#xA0;Programming&#xA0;Language</a><br/>
21962196 &#160;&#160;&#160;&#160;<a href="ad_in_c.cpp.xml" target="_top">Example&#xA0;and&#xA0;Test&#xA0;Linking&#xA0;CppAD&#xA0;to&#xA0;Languages&#xA0;Other&#xA0;than&#xA0;C++</a><br/>
21972197 &#160;&#160;&#160;&#160;<a href="library.xml#C++ Concepts" target="_top">The&#xA0;CppAD&#xA0;General&#xA0;Purpose&#xA0;Library:&#160;C++&#xA0;Concepts</a><br/>
2198 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2198 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
21992199 &#160;&#160;&#160;&#160;&#160;compile<b>&#xA0;</b>flags&#160;<a href="cmake.xml#cppad_cxx_flags" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;cppad_cxx_flags</a><br/>
22002200 c<b>:</b>&#160;<a href="interface2c.cpp.xml" target="_top">Interfacing&#xA0;to&#xA0;C:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
22012201 calculating&#160;<a href="sparse.xml" target="_top">Calculating&#xA0;Sparsity&#xA0;Patterns</a><br/>
26892689 &#160;&#160;&#160;&#160;&#160;speed<b>&#xA0;</b>test&#160;<a href="speed_cppad.xml" target="_top">Speed&#xA0;Test&#xA0;Derivatives&#xA0;Using&#xA0;CppAD</a><br/>
26902690 &#160;&#160;&#160;&#160;&#160;speed<b>&#xA0;</b>test&#160;<a href="speed_main.xml" target="_top">Running&#xA0;the&#xA0;Speed&#xA0;Test&#xA0;Program</a><br/>
26912691 &#160;&#160;&#160;&#160;&#160;test<b>&#xA0;</b>vector&#160;<a href="cppad_testvector.xml" target="_top">Choosing&#xA0;the&#xA0;CppAD&#xA0;Test&#xA0;Vector&#xA0;Template&#xA0;Class</a><br/>
2692 cppad<b>-</b>20150000<b>.</b>8<b>:</b>&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
2692 cppad<b>-</b>20150000<b>.</b>9<b>:</b>&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
26932693 cppad<b>.</b>hpp<br/>
2694 &#160;&#160;&#160;&#160;&#160;include&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
2694 &#160;&#160;&#160;&#160;&#160;include&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
26952695 cppad<b>::</b>vector&#160;<a href="test_vector.xml#CppAD::vector" target="_top">Choosing&#xA0;The&#xA0;Vector&#xA0;Testing&#xA0;Template&#xA0;Class:&#160;CppAD::vector</a><br/>
26962696 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="testvector.xml#CppAD::vector" target="_top">Using&#xA0;The&#xA0;CppAD&#xA0;Test&#xA0;Vector&#xA0;Template&#xA0;Class:&#160;CppAD::vector</a><br/>
26972697 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad_vector.cpp.xml" target="_top">CppAD::vector&#xA0;Template&#xA0;Class:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
30633063 differentiating&#160;<a href="stack_machine.cpp.xml" target="_top">Example&#xA0;Differentiating&#xA0;a&#xA0;Stack&#xA0;Machine&#xA0;Interpreter</a><br/>
30643064 differentiation&#160;<a href="introduction.xml#Preface.Algorithmic Differentiation" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation:&#160;Preface.Algorithmic&#xA0;Differentiation</a><br/>
30653065 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
3066 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
3066 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
30673067 dimension<br/>
30683068 &#160;&#160;&#160;&#160;&#160;multi<b>&#xA0;</b>Romberg<b>&#xA0;</b>integration&#160;<a href="rombergmul.xml" target="_top">Multi-dimensional&#xA0;Romberg&#xA0;Integration</a><br/>
30693069 dimensional&#160;<a href="rombergmul.cpp.xml" target="_top">One&#xA0;Dimensional&#xA0;Romberg&#xA0;Integration:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37123712 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
37133713 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="colpack.cpp.xml" target="_top">Using&#xA0;ColPack:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37143714 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="colpack_prefix.xml#Example" target="_top">Including&#xA0;the&#xA0;ColPack&#xA0;Sparsity&#xA0;Calculations:&#160;Example</a><br/>
3715 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Example" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Example</a><br/>
3715 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Example" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Example</a><br/>
37163716 &#160;&#160;&#160;&#160;&#160;AD<b>&#xA0;</b>acos&#160;<a href="acos.cpp.xml" target="_top">The&#xA0;AD&#xA0;acos&#xA0;Function:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37173717 &#160;&#160;&#160;&#160;&#160;AD<b>&#xA0;</b>add&#160;<a href="add.cpp.xml" target="_top">AD&#xA0;Binary&#xA0;Addition:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
37183718 &#160;&#160;&#160;&#160;&#160;AD<b>&#xA0;</b>asin&#160;<a href="asin.cpp.xml" target="_top">The&#xA0;AD&#xA0;asin&#xA0;Function:&#xA0;Example&#xA0;and&#xA0;Test</a><br/>
42484248 &#160;&#160;&#160;&#160;&#160;<a href="base_alloc.hpp.xml#Include File" target="_top">Example&#xA0;AD&lt;Base&gt;&#xA0;Where&#xA0;Base&#xA0;Constructor&#xA0;Allocates&#xA0;Memory:&#160;Include&#xA0;File</a><br/>
42494249 &#160;&#160;&#160;&#160;&#160;<a href="download.xml#Compressed Archives.Windows File Extraction" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Compressed&#xA0;Archives.Windows&#xA0;File&#xA0;Extraction</a><br/>
42504250 &#160;&#160;&#160;&#160;&#160;<a href="download.xml#Compressed Archives.Unix File Extraction" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Compressed&#xA0;Archives.Unix&#xA0;File&#xA0;Extraction</a><br/>
4251 &#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4251 &#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
42524252 &#160;&#160;&#160;&#160;&#160;deprecated<b>&#xA0;</b>include&#160;<a href="include_deprecated.xml" target="_top">Deprecated&#xA0;Include&#xA0;Files</a><br/>
42534253 files&#160;<a href="include_deprecated.xml#Linking New Files to Deprecated Commands" target="_top">Deprecated&#xA0;Include&#xA0;Files:&#160;Linking&#xA0;New&#xA0;Files&#xA0;to&#xA0;Deprecated&#xA0;Commands</a><br/>
42544254 &#160;&#160;&#160;&#160;&#160;&#160;<a href="include_deprecated.xml" target="_top">Deprecated&#xA0;Include&#xA0;Files</a><br/>
43604360 &#160;&#160;&#160;&#160;<a href="nearequalext.xml" target="_top">Compare&#xA0;AD&#xA0;and&#xA0;Base&#xA0;Objects&#xA0;for&#xA0;Nearly&#xA0;Equal</a><br/>
43614361 &#160;&#160;&#160;&#160;<a href="limits.xml" target="_top">Numeric&#xA0;Limits&#xA0;For&#xA0;an&#xA0;AD&#xA0;and&#xA0;Base&#xA0;Types</a><br/>
43624362 &#160;&#160;&#160;&#160;<a href="exp_apx_main.cpp.xml" target="_top">Correctness&#xA0;Tests&#xA0;For&#xA0;Exponential&#xA0;Approximation&#xA0;in&#xA0;Introduction</a><br/>
4363 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
4363 &#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
43644364 for<b>_</b>jac<b>_</b>sparse&#160;<a href="old_atomic.xml#for_jac_sparse" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions:&#160;for_jac_sparse</a><br/>
43654365 for<b>_</b>sparse<b>_</b>jac&#160;<a href="atomic_matrix_mul.hpp.xml#for_sparse_jac" target="_top">Matrix&#xA0;Multiply&#xA0;as&#xA0;an&#xA0;Atomic&#xA0;Operation:&#160;for_sparse_jac</a><br/>
43664366 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="atomic_mat_mul.cpp.xml#Use Atomic Function.for_sparse_jac" target="_top">User&#xA0;Atomic&#xA0;Matrix&#xA0;Multiply:&#xA0;Example&#xA0;and&#xA0;Test:&#160;Use&#xA0;Atomic&#xA0;Function.for_sparse_jac</a><br/>
49754975 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="base_require.xml#Include Order" target="_top">AD&lt;Base&gt;&#xA0;Requirements&#xA0;for&#xA0;Base&#xA0;Type:&#160;Include&#xA0;Order</a><br/>
49764976 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_eps.xml#include" target="_top">An&#xA0;Epsilon&#xA0;Accurate&#xA0;Exponential&#xA0;Approximation:&#160;include</a><br/>
49774977 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_2.xml#include" target="_top">Second&#xA0;Order&#xA0;Exponential&#xA0;Approximation:&#160;include</a><br/>
4978 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4979 &#160;&#160;&#160;&#160;&#160;cppad<b>.</b>hpp&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4978 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
4979 &#160;&#160;&#160;&#160;&#160;cppad<b>.</b>hpp&#160;<a href="cppad.xml#Include File" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Include&#xA0;File</a><br/>
49804980 &#160;&#160;&#160;&#160;&#160;deprecated<b>&#xA0;</b>file&#160;<a href="include_deprecated.xml" target="_top">Deprecated&#xA0;Include&#xA0;Files</a><br/>
49814981 include<b>&#xA0;</b>directories<br/>
49824982 &#160;&#160;&#160;&#160;&#160;install&#160;<a href="cmake.xml#cmake_install_includedirs" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;cmake_install_includedirs</a><br/>
51545154 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="example.xml#Introduction" target="_top">Examples:&#160;Introduction</a><br/>
51555155 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_apx_main.cpp.xml" target="_top">Correctness&#xA0;Tests&#xA0;For&#xA0;Exponential&#xA0;Approximation&#xA0;in&#xA0;Introduction</a><br/>
51565156 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
5157 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
5158 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
5157 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
5158 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Introduction" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Introduction</a><br/>
51595159 &#160;&#160;&#160;&#160;&#160;AD&#160;<a href="introduction.xml" target="_top">An&#xA0;Introduction&#xA0;by&#xA0;Example&#xA0;to&#xA0;Algorithmic&#xA0;Differentiation</a><br/>
51605160 inuse&#160;<a href="memory_leak.xml#inuse" target="_top">Memory&#xA0;Leak&#xA0;Detection:&#160;inuse</a><br/>
51615161 &#160;&#160;&#160;&#160;&#160;omp<b>_</b>alloc&#160;<a href="omp_inuse.xml#Deprecated" target="_top">Amount&#xA0;of&#xA0;Memory&#xA0;a&#xA0;Thread&#xA0;is&#xA0;Currently&#xA0;Using:&#160;Deprecated</a><br/>
59655965 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="faq.xml#Namespace" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace</a><br/>
59665966 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="faq.xml#Namespace" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace</a><br/>
59675967 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad_eigen.hpp.xml#CppAD Namespace" target="_top">Enable&#xA0;Use&#xA0;of&#xA0;Eigen&#xA0;Linear&#xA0;Algebra&#xA0;Package&#xA0;with&#xA0;CppAD:&#160;CppAD&#xA0;Namespace</a><br/>
5968 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
5969 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
5968 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
5969 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml#Namespace" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Namespace</a><br/>
59705970 nan&#160;<a href="ode_err_control.cpp.xml#Nan" target="_top">OdeErrControl:&#xA0;Example&#xA0;and&#xA0;Test:&#160;Nan</a><br/>
59715971 &#160;&#160;&#160;&#160;<a href="odeerrcontrol.xml#Method.Nan" target="_top">An&#xA0;Error&#xA0;Controller&#xA0;for&#xA0;ODE&#xA0;Solvers:&#160;Method.Nan</a><br/>
59725972 &#160;&#160;&#160;&#160;<a href="rosen34.xml#Fun.Nan" target="_top">A&#xA0;3rd&#xA0;and&#xA0;4th&#xA0;Order&#xA0;Rosenbrock&#xA0;ODE&#xA0;Solver:&#160;Fun.Nan</a><br/>
63036303 &#160;&#160;&#160;<a href="atomic_afun.xml" target="_top">Using&#xA0;AD&#xA0;Version&#xA0;of&#xA0;Atomic&#xA0;Function</a><br/>
63046304 &#160;&#160;&#160;<a href="convert.xml" target="_top">Conversion&#xA0;and&#xA0;I/O&#xA0;of&#xA0;AD&#xA0;Objects</a><br/>
63056305 &#160;&#160;&#160;<a href="exp_eps.cpp.xml" target="_top">exp_eps:&#xA0;Test&#xA0;of&#xA0;exp_eps</a><br/>
6306 &#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
6306 &#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
63076307 ok&#160;<a href="old_atomic.xml#ok" target="_top">User&#xA0;Defined&#xA0;Atomic&#xA0;AD&#xA0;Functions:&#160;ok</a><br/>
63086308 &#160;&#160;&#160;<a href="det_grad_33.xml#ok" target="_top">Check&#xA0;Gradient&#xA0;of&#xA0;Determinant&#xA0;of&#xA0;3&#xA0;by&#xA0;3&#xA0;matrix:&#160;ok</a><br/>
63096309 &#160;&#160;&#160;<a href="det_33.xml#ok" target="_top">Check&#xA0;Determinant&#xA0;of&#xA0;3&#xA0;by&#xA0;3&#xA0;matrix:&#160;ok</a><br/>
66916691 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="speed_main.xml#package" target="_top">Running&#xA0;the&#xA0;Speed&#xA0;Test&#xA0;Program:&#160;package</a><br/>
66926692 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="speed.xml" target="_top">Speed&#xA0;Test&#xA0;an&#xA0;Operator&#xA0;Overloading&#xA0;AD&#xA0;Package</a><br/>
66936693 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad_eigen.hpp.xml" target="_top">Enable&#xA0;Use&#xA0;of&#xA0;Eigen&#xA0;Linear&#xA0;Algebra&#xA0;Package&#xA0;with&#xA0;CppAD</a><br/>
6694 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
6694 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
66956695 &#160;&#160;&#160;&#160;&#160;prefix&#160;<a href="cmake.xml#package_prefix" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;package_prefix</a><br/>
66966696 package<b>_</b>prefix&#160;<a href="cmake.xml#package_prefix" target="_top">Using&#xA0;CMake&#xA0;to&#xA0;Configure&#xA0;CppAD:&#160;package_prefix</a><br/>
66976697 pairs&#160;<a href="wishlist.xml#Optimization.Variable Pairs" target="_top">The&#xA0;CppAD&#xA0;Wish&#xA0;List:&#160;Optimization.Variable&#xA0;Pairs</a><br/>
68656865 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="wishlist.xml#Preprocessor Symbols" target="_top">The&#xA0;CppAD&#xA0;Wish&#xA0;List:&#160;Preprocessor&#xA0;Symbols</a><br/>
68666866 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
68676867 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
6868 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
6868 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
68696869 &#160;&#160;&#160;&#160;&#160;CPPAD<b>_&#xA0;</b>symbol&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
6870 &#160;&#160;&#160;&#160;&#160;symbol<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
6870 &#160;&#160;&#160;&#160;&#160;symbol<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
68716871 &#160;&#160;&#160;&#160;&#160;symbols&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
68726872 previous&#160;<a href="whats_new.xml#Previous Years" target="_top">Changes&#xA0;and&#xA0;Additions&#xA0;to&#xA0;CppAD:&#160;Previous&#xA0;Years</a><br/>
68736873 previously&#160;<a href="tracknewdel.xml#TrackCount.Previously Deprecated" target="_top">Routines&#xA0;That&#xA0;Track&#xA0;Use&#xA0;of&#xA0;New&#xA0;and&#xA0;Delete:&#160;TrackCount.Previously&#xA0;Deprecated</a><br/>
84248424 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="exp_2_cppad.xml" target="_top">exp_2:&#xA0;CppAD&#xA0;Forward&#xA0;and&#xA0;Reverse&#xA0;Sweeps</a><br/>
84258425 symbol&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
84268426 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>CPPAD<b>_</b>&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
8427 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
8427 &#160;&#160;&#160;&#160;&#160;preprocessor<b>&#xA0;</b>CppAD&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
84288428 symbols&#160;<a href="wishlist.xml#Preprocessor Symbols" target="_top">The&#xA0;CppAD&#xA0;Wish&#xA0;List:&#160;Preprocessor&#xA0;Symbols</a><br/>
84298429 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="preprocessor.xml" target="_top">CppAD&#xA0;API&#xA0;Preprocessor&#xA0;Symbols</a><br/>
8430 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
8430 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Preprocessor Symbols" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Preprocessor&#xA0;Symbols</a><br/>
84318431 &#160;&#160;&#160;&#160;&#160;preprocessor&#160;<a href="faq.xml#Namespace.Test Vector Preprocessor Symbol" target="_top">Frequently&#xA0;Asked&#xA0;Questions&#xA0;and&#xA0;Answers:&#160;Namespace.Test&#xA0;Vector&#xA0;Preprocessor&#xA0;Symbol</a><br/>
84328432 syntax&#160;<a href="time_det_by_minor_c.xml#Syntax" target="_top">Determine&#xA0;Amount&#xA0;of&#xA0;Time&#xA0;to&#xA0;Execute&#xA0;det_by_minor:&#160;Syntax</a><br/>
84338433 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="elapsed_seconds_c.xml#Syntax" target="_top">Returns&#xA0;Elapsed&#xA0;Number&#xA0;of&#xA0;Seconds:&#160;Syntax</a><br/>
86058605 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="get_eigen.sh.xml#Syntax" target="_top">Download&#xA0;and&#xA0;Install&#xA0;Eigen&#xA0;in&#xA0;Build&#xA0;Directory:&#160;Syntax</a><br/>
86068606 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="get_colpack.sh.xml#Syntax" target="_top">Download&#xA0;and&#xA0;Install&#xA0;ColPack&#xA0;in&#xA0;Build&#xA0;Directory:&#160;Syntax</a><br/>
86078607 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="get_adolc.sh.xml#Syntax" target="_top">Download&#xA0;and&#xA0;Install&#xA0;Adolc&#xA0;in&#xA0;Build&#xA0;Directory:&#160;Syntax</a><br/>
8608 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Syntax" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Syntax</a><br/>
8608 &#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="cppad.xml#Syntax" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms:&#160;Syntax</a><br/>
86098609 systems&#160;<a href="elapsed_seconds.xml#Microsoft Systems" target="_top">Returns&#xA0;Elapsed&#xA0;Number&#xA0;of&#xA0;Seconds:&#160;Microsoft&#xA0;Systems</a><br/>
86108610
86118611 <b><big><a name="T">T</a></big></b>
98869886 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="discrete.xml#Create AD Version" target="_top">Discrete&#xA0;AD&#xA0;Functions:&#160;Create&#xA0;AD&#xA0;Version</a><br/>
98879887 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="download.xml#Subversion.Current Version" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Subversion.Current&#xA0;Version</a><br/>
98889888 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="download.xml#Compressed Archives.Current Version" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Compressed&#xA0;Archives.Current&#xA0;Version</a><br/>
9889 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.8:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
9889 &#160;&#160;&#160;&#160;&#160;CppAD&#160;<a href="cppad.xml" target="_top">cppad-20150000.9:&#xA0;A&#xA0;Package&#xA0;for&#xA0;Differentiation&#xA0;of&#xA0;C++&#xA0;Algorithms</a><br/>
98909890 version<b>)</b>&#160;<a href="double_mat_mul.cpp.xml" target="_top">CppAD&#xA0;Speed:&#xA0;Matrix&#xA0;Multiplication&#xA0;(Double&#xA0;Version)</a><br/>
98919891 versions&#160;<a href="download.xml#Subversion.Release Versions" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Subversion.Release&#xA0;Versions</a><br/>
98929892 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<a href="download.xml#Subversion.Stable Versions" target="_top">Download&#xA0;The&#xA0;CppAD&#xA0;Source&#xA0;Code:&#160;Subversion.Stable&#xA0;Versions</a><br/>
204204 <a href="correct_det_by_minor_c.xml" target="_top">correct_det_by_minor_c</a><br/> </td><td> Correctness Test of det_by_minor Routine </td></tr><tr valign="top"><td>
205205 <a href="cos.cpp.xml" target="_top">cos.cpp</a><br/> </td><td> The AD cos Function: Example and Test </td></tr><tr valign="top"><td>
206206 <a href="cosh.cpp.xml" target="_top">cosh.cpp</a><br/> </td><td> The AD cosh Function: Example and Test </td></tr><tr valign="top"><td>
207 <a href="cppad.xml" target="_top">CppAD</a><br/> </td><td> cppad-20150000.8: A Package for Differentiation of C++ Algorithms </td></tr><tr valign="top"><td>
207 <a href="cppad.xml" target="_top">CppAD</a><br/> </td><td> cppad-20150000.9: A Package for Differentiation of C++ Algorithms </td></tr><tr valign="top"><td>
208208 <a href="cppad_assert.xml" target="_top">cppad_assert</a><br/> </td><td> CppAD Assertions During Execution </td></tr><tr valign="top"><td>
209209 <a href="cppad_det_lu.cpp.xml" target="_top">cppad_det_lu.cpp</a><br/> </td><td> CppAD Speed: Gradient of Determinant Using Lu Factorization </td></tr><tr valign="top"><td>
210210 <a href="cppad_det_minor.cpp.xml" target="_top">cppad_det_minor.cpp</a><br/> </td><td> CppAD Speed: Gradient of Determinant by Minor Expansion </td></tr><tr valign="top"><td>
22 // -------------------------------------------------------
33 Keyword =
44 [
5 'CppAD cppad-20150000.8: A Package for Differentiation of C++ Algorithms ',' algorithmic automatic derivative version syntax introduction example include file cppad.hpp preprocessor symbols namespace ',
5 'CppAD cppad-20150000.9: A Package for Differentiation of C++ Algorithms ',' algorithmic automatic derivative version syntax introduction example include file cppad.hpp preprocessor symbols namespace ',
66 'Install CppAD Download, Test, and Install Instructions ',' step 1: 2: cmake 3: check 4: ',
77 'download Download The CppAD Source Code ',' purpose distribution directory compressed archives current version release versions monthly unix file extraction windows install instructions subversion limitations stable ',
88 'cmake Using CMake to Configure CppAD ',' the program command build directory generator makefile cmake_install_prefix cmake_install_includedirs directories cmake_install_datadir cmake_install_docdir cmake_install_libdirs library cmake_install_postfix package_prefix cppad_cxx_flags c++ compile cppad_testvector cppad_max_num_threads maximum number cppad_sparse_list sparsity internal structure of sets cppad_tape_id_type memory usage cstdint cppad_tape_addr_type cppad_implicit_ctor_from_any_type explicit ',
22 xmlns:math='http://www.w3.org/1998/Math/MathML'
33 >
44 <head>
5 <title>cppad-20150000.8: A Package for Differentiation of C++ Algorithms</title>
5 <title>cppad-20150000.9: A Package for Differentiation of C++ Algorithms</title>
66 <meta http-equiv='Content-Type' content='text/html' charset='utf-8'/>
7 <meta name="description" id="description" content="cppad-20150000.8: A Package for Differentiation of C++ Algorithms"/>
8 <meta name="keywords" id="keywords" content=" Ad algorithmic differentiation automatic C++ algorithm derivative Cppad version cppad-20150000.8: a package for of c++ algorithms syntax introduction example include file cppad.hpp preprocessor symbols symbol namespace "/>
7 <meta name="description" id="description" content="cppad-20150000.9: A Package for Differentiation of C++ Algorithms"/>
8 <meta name="keywords" id="keywords" content=" Ad algorithmic differentiation automatic C++ algorithm derivative Cppad version cppad-20150000.9: a package for of c++ algorithms syntax introduction example include file cppad.hpp preprocessor symbols symbol namespace "/>
99 <style type='text/css'>
1010 body { color : black }
1111 body { background-color : white }
7575
7676
7777
78 <center><b><big><big>cppad-20150000.8: A Package for Differentiation of C++ Algorithms</big></big></b></center>
78 <center><b><big><big>cppad-20150000.9: A Package for Differentiation of C++ Algorithms</big></big></b></center>
7979 <br/>
8080 <b><big><a name="Syntax" id="Syntax">Syntax</a></big></b>
8181
121121
122122 current </td><td align='left' valign='top'>
123123 EPL </td><td align='left' valign='top'>
124 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.epl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.8.epl.tgz</span></a>
124 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.epl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.9.epl.tgz</span></a>
125125
126126 </td></tr><tr><td align='left' valign='top'>
127127
128128 current </td><td align='left' valign='top'>
129129 GPL </td><td align='left' valign='top'>
130 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.gpl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.8.gpl.tgz</span></a>
130 <a href="http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.gpl.tgz" target="_top"><span style='white-space: nowrap'>cppad-20150000.9.gpl.tgz</span></a>
131131
132132 </td></tr><tr><td align='left' valign='top'>
133133
0 $Id: doc.omh 3647 2015-02-15 01:06:13Z bradbell $
0 $Id: doc.omh 3661 2015-02-23 22:19:20Z bradbell $
11 /* --------------------------------------------------------------------------
22 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
33
9494
9595 $comment bin/version assumes that : follows cppad version number here$$
9696 $section
97 cppad-20150000.8: A Package for Differentiation of C++ Algorithms
97 cppad-20150000.9: A Package for Differentiation of C++ Algorithms
9898 $$
9999
100100 $comment This comment is used to remove the table below$$
191191 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
192192 CYGPATH_W = @CYGPATH_W@
193193
194 # $Id: makefile.in 3506 2014-12-26 15:06:59Z bradbell $
194 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
195195 # -----------------------------------------------------------------------------
196196 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
197197 #
179179 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
180180 CYGPATH_W = @CYGPATH_W@
181181
182 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
182 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
183183 # -----------------------------------------------------------------------------
184184 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
185185 #
292292 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
293293 CYGPATH_W = @CYGPATH_W@
294294
295 # $Id: makefile.in 3526 2014-12-29 21:56:45Z bradbell $
295 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
296296 # -----------------------------------------------------------------------------
297297 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
298298 #
193193 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
194194 CYGPATH_W = @CYGPATH_W@
195195
196 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
196 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
197197 # -----------------------------------------------------------------------------
198198 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
199199 #
175175 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
176176 CYGPATH_W = @CYGPATH_W@
177177
178 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
178 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
179179 # -----------------------------------------------------------------------------
180180 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
181181 #
391391 top_builddir = @top_builddir@
392392 top_srcdir = @top_srcdir@
393393
394 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
394 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
395395 # -----------------------------------------------------------------------------
396396 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
397397 #
217217 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
218218 CYGPATH_W = @CYGPATH_W@
219219
220 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
220 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
221221 # -----------------------------------------------------------------------------
222222 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
223223 #
175175 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
176176 CYGPATH_W = @CYGPATH_W@
177177
178 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
178 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
179179 # -----------------------------------------------------------------------------
180180 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
181181 #
0 $Id: download.omh 3647 2015-02-15 01:06:13Z bradbell $
0 $Id: download.omh 3661 2015-02-23 22:19:20Z bradbell $
11 /* --------------------------------------------------------------------------
22 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
33
6262 $bold version$$ $pre $$ $cnext $bold license$$ $pre $$ $cnext $bold link$$
6363 $rnext
6464 current $cnext EPL $cnext $href%
65 http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.epl.tgz%
66 cppad-20150000.8.epl.tgz%$$
65 http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.epl.tgz%
66 cppad-20150000.9.epl.tgz%$$
6767 $rnext
6868 current $cnext GPL $cnext $href%
69 http://www.coin-or.org/download/source/CppAD/cppad-20150000.8.gpl.tgz%
70 cppad-20150000.8.gpl.tgz%$$
69 http://www.coin-or.org/download/source/CppAD/cppad-20150000.9.gpl.tgz%
70 cppad-20150000.9.gpl.tgz%$$
7171 $rnext
7272 old $cnext Both $cnext
7373 $href%http://www.coin-or.org/download/source/CppAD/%CppAD download page%$$
175175 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
176176 CYGPATH_W = @CYGPATH_W@
177177
178 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
178 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
179179 # -----------------------------------------------------------------------------
180180 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
181181 #
323323 top_builddir = @top_builddir@
324324 top_srcdir = @top_srcdir@
325325
326 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
326 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
327327 # -----------------------------------------------------------------------------
328328 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
329329 #
310310 top_builddir = @top_builddir@
311311 top_srcdir = @top_srcdir@
312312
313 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
313 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
314314 # -----------------------------------------------------------------------------
315315 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
316316 #
310310 top_builddir = @top_builddir@
311311 top_srcdir = @top_srcdir@
312312
313 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
313 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
314314 # -----------------------------------------------------------------------------
315315 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
316316 #
182182 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
183183 CYGPATH_W = @CYGPATH_W@
184184
185 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
185 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
186186 # -----------------------------------------------------------------------------
187187 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
188188 #
311311 top_builddir = @top_builddir@
312312 top_srcdir = @top_srcdir@
313313
314 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
314 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
315315 # -----------------------------------------------------------------------------
316316 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
317317 #
313313 top_builddir = @top_builddir@
314314 top_srcdir = @top_srcdir@
315315
316 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
316 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
317317 # -----------------------------------------------------------------------------
318318 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
319319 #
311311 top_builddir = @top_builddir@
312312 top_srcdir = @top_srcdir@
313313
314 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
314 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
315315 # -----------------------------------------------------------------------------
316316 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
317317 #
185185 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
186186 CYGPATH_W = @CYGPATH_W@
187187
188 # $Id: makefile.in 3497 2014-12-24 13:38:30Z bradbell $
188 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
189189 # -----------------------------------------------------------------------------
190190 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
191191 #
263263 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
264264 CYGPATH_W = @CYGPATH_W@
265265
266 # $Id: makefile.in 3526 2014-12-29 21:56:45Z bradbell $
266 # $Id: makefile.in 3660 2015-02-22 17:37:25Z bradbell $
267267 # -----------------------------------------------------------------------------
268268 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
269269 #