diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-10-31 09:08:44 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-10-31 09:08:44 +0000 |
commit | 3867a96302fc2aa4e3efe994a094fd3eb68f1c41 (patch) | |
tree | 0b8cdd5693132c8460efc17215aca7b90478d224 /sci-libs/coinor-cppad | |
parent | Fix Manifest (bug #527560). (diff) | |
download | historical-3867a96302fc2aa4e3efe994a094fd3eb68f1c41.tar.gz historical-3867a96302fc2aa4e3efe994a094fd3eb68f1c41.tar.bz2 historical-3867a96302fc2aa4e3efe994a094fd3eb68f1c41.zip |
sci-libs/coinor-cppad: Fix incomptibility with /bin/sh -> dash; #527496; fix boost detection
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-libs/coinor-cppad')
-rw-r--r-- | sci-libs/coinor-cppad/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/coinor-cppad/Manifest | 27 | ||||
-rw-r--r-- | sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild | 60 | ||||
-rw-r--r-- | sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch | 79 | ||||
-rw-r--r-- | sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch | 215 |
5 files changed, 383 insertions, 7 deletions
diff --git a/sci-libs/coinor-cppad/ChangeLog b/sci-libs/coinor-cppad/ChangeLog index 77b5a1cd83bd..c116fead305a 100644 --- a/sci-libs/coinor-cppad/ChangeLog +++ b/sci-libs/coinor-cppad/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/coinor-cppad # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/ChangeLog,v 1.4 2014/05/21 18:25:56 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/ChangeLog,v 1.5 2014/10/31 09:08:43 jlec Exp $ + +*coinor-cppad-20140519-r1 (31 Oct 2014) + + 31 Oct 2014; Justin Lecher <jlec@gentoo.org> + +coinor-cppad-20140519-r1.ebuild, +files/coinor-cppad-20140519-boost.patch, + +files/coinor-cppad-20140519-dash.patch: + Fix incomptibility with /bin/sh -> dash; #527496; fix boost detection *coinor-cppad-20140519 (21 May 2014) diff --git a/sci-libs/coinor-cppad/Manifest b/sci-libs/coinor-cppad/Manifest index d88aef3157ce..ef3d79ae5c88 100644 --- a/sci-libs/coinor-cppad/Manifest +++ b/sci-libs/coinor-cppad/Manifest @@ -1,16 +1,31 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 +AUX coinor-cppad-20140519-boost.patch 2799 SHA256 20a6b1687ef395f9ccbf16dcf1f9758f03dcd8e393e66927818171eb6153c0ed SHA512 fe3af84b635aeefc30dedee488914f1de00d139756b2fa5c1f39c95b3886860c88ce02d8aaea6d0ec467f135bf17e8f2ce6df427fdd4d11188dbfe1a080cc014 WHIRLPOOL cb01bf199bb81f8f1a205c08030df45992af3ca6a167d6dac575f1874be8a1a4ff64c9f94224a84bb39f8cbb758828c8d81965397478a45d9eacac02d5838bfb +AUX coinor-cppad-20140519-dash.patch 7659 SHA256 afedeeb0843f9c4c237d92c576250ca8143987f5370e52af092c4516d80ea53c SHA512 a1aa44e9949d67823492f0296ba51ebdbb2f201855903a9571dfb686b6a42ac3756c577167ee7e8cf664872db0d570ec7576085d0f9d6642b78096708f83cf04 WHIRLPOOL 92120414d6774e1c9f2f0cc5b4b534e476a0e469cd5adb46ebe910a44c648a8c9d07b6e903075505ecd094c0f91a46469d5983f985f8cb05573c0b934bdefacc DIST cppad-20140204.gpl.tgz 2189463 SHA256 165b416194a41567ff9fccffbf456784f214cb16bb6f77efc6b082d1f8cbf96a SHA512 0cead73e8d2e2da43ea22c003c0feccadefd2f66efbb58df45b79bff51181ad8646063fd053af8d377ce1732609c55175fd53c00142eb6635018878541f6d2ed WHIRLPOOL 258f8a580d5df0056f895c64e898c4b4fbd112b9159f810f45bb01aa3b5610fb9ceff2d4737e585e3e9b41e2f04accd7d6ca7c4a34191319bdf05bae1c4753c1 DIST cppad-20140519.gpl.tgz 2208236 SHA256 85e36710c0ede5cba2f8c24b9358ec42e36088a469234df006518e5c856e91f2 SHA512 8f47e545bc76f66edccb9ea083ddebcb5852fa1807d727b6e1f445ca74731e74f7614a1d33b48c6eafbc5129b319e513594b415ee838bdc634f9c00a6d9a22af WHIRLPOOL f2a1d6335971f62f7b37558f4bd873710253a62921c311da1c76d3483df927ddc3a0679d8efcf9b2eb3a83bc70925e0c8cfe00f8770cd88cbb8d99af3db7f0e2 EBUILD coinor-cppad-20140204.ebuild 1162 SHA256 70a8e8a878c4372d131a75e4cd6fdbc7f6c09865c5b67f6c149e869683a3267e SHA512 75c1079691a0345ea7f2d536fcd7e23ff350d8c85b4c93a1f14dbbf29a8f3f3366568b3279350e8c288893992e5921e00f61c33fa39feda97e1532d14e58148d WHIRLPOOL 26560852b4013e85536280bf398908a28f04655241348596d41670690c93545d3c2d14939b2c059635b75083d116192a87e59d8caec2abf645a2863b121703d7 +EBUILD coinor-cppad-20140519-r1.ebuild 1295 SHA256 a07537afa02a64fbd0d14176708ea20b8f87426398b327c8185a26e2101b7372 SHA512 a1688afedb46202e814334fcd1a1c246bf26a8be6734fa1e67596553879ce9118a618c9da68e3d841a896cbcf8250434fd1b3268af7c55d9d338e9a84edf75ec WHIRLPOOL b0cb0a7ae763079fa5346344bc5f32a99996de1cb23d702146351734abb8d8a1505926693e546bdb11556227292c614edb1d24b19f8c8e499d4dc274e21de305 EBUILD coinor-cppad-20140519.ebuild 1168 SHA256 d1a98a513da68a021cacc62780188e7c8e52bd6f460811805a37f9872bd3c6a6 SHA512 b5f170a24e11caf8ed93cc1367507e96b020e1891ecd4ea1184ecd795fee49804b2b4750f955ad71d381db65aef8b2e29cdaec3fdd889dc551a869e6e0e716c3 WHIRLPOOL 18c93adfc4aadf2f851af82cb31e74397436c5d5347b59d51d56b7f79a9738d83b60035d2667110be9732f83ca7e462a3be2d1bc4b98f0e3970e451c54a7733b -MISC ChangeLog 2045 SHA256 168f12f5371b44fa0e8f67e6111227412e56658346ae89dc8365625fe3cb5e34 SHA512 fa0a5ef6ac7d8e5bc6be98b48256add5652d32889178a04241c7d4d9fa5d803a822780c19d041c934f17790b7c8774acab840af8d96e25ab3669a8025a7e3278 WHIRLPOOL dcd56d436addb9ea8b32c64a6e12976c258ecae9daee7bce9808943c269a7fe4a4b410dceab0e26c3443a324ff560911d23382bb71b77753ec3beeca4d02e727 +MISC ChangeLog 2323 SHA256 41173aa323d365a7f37a9c7c38d0b227897d1728857c7e2797262c5c0388100b SHA512 5915d446df3f004bd6277d880d92cd7bebc083471590ee2c1fe79c1b836b1ec10567caa652844473fbff26a42ec8e91ee5e5be35c9c77dc52c244df6d80c75dd WHIRLPOOL 7c89998ae922327e0c38137fac83f849fc14a23f2fea85e63aa37847d813c366064bfaf0cb3cc2de532463afa48a7e1739d26649f4468757a44c6fff46ac4f45 MISC metadata.xml 629 SHA256 dc900a4b0b2e363bf9a74197cef564d6c008c6e4b128330b8608cdbc3bc93fc5 SHA512 cd7d1bb08a37cd0681734c42f77e0271ed2ef3b9c18d29d161d47982d5ebc5ec218609729fe9f396fc60d7f704f1796a28cc7b2d8e43ed67c80dd1f5904e3612 WHIRLPOOL 0c7a3180bf342b5207090c895018744c2d60764203fd42eec45a951edf15f64d5d4ed136725c678d5077a6887f5bb054f62ed246b019921b7868480dcfd0acce -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2.0 -iEYEAREIAAYFAlN877gACgkQ1ycZbhPLE2C7QQCdFeBJ/EU5ZYA3oVEjeZJjuSB8 -35EAn1jDG+pJCmFieqUr95hbgnGtxYsv -=V+Qo +iQJ8BAEBCgBmBQJUU1GcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC +OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirNBcP/jy3OX4Yqn4JowDudMd0Kjpj +MPO9GmN5KXj/Vr/dGbZVulIwvzvHAMvX6hc39Nk5EyLLtr06DRhz8izD3dk4s03q +TJ/0vvhPwBwwiXdSsVicryNH7K/p5misqFHT+prQNTS5nTstkLoz3oZL2TdkoSAe +6Bsw/Lu8NzBR76kv1bN/0VPf6lBmiknvbQggbwBOwXoQICLss8kUMNztLQEgo6ot +JH5g5jom82qN/drRvVB5wfVDSk5a9B6QfrQ17gqHV1AannbUkP0LX3U/SEvf3Crw +pSk2PLVjCUFuVXo0nZIlsLpthhFxqVUHXEnO+PbDOMbEQcKkedWV3uk1tRxTW3uX +09wLZ57UiarO8eHLwBvkcYTukNO9U88Lw+2eC7eIcOTotdcdP6/TW/Q1rFwlXUnC +3Pa3n38GZ/tAJ/DtvPPPLAovDWu2F/06fR7Ll2Wonq9uLTJ2TmDdW38cXO69vfOh +duovo650LAEL0yoJo9BlPbPdkZYormMoE3hhOxf3y6RFv/pFRWXLJR0QowxVddTf +zDyEcr0WoV79++UFuizfB3hBHyFgVhNP9yRTKzhe/O9CiIFEXKuGryB9kogkXwO8 +X9cWz7wj55+Yo+6RwFfipedieGphA5BiIR3s7zMHbMmsE3DUwBKEGfC5+nyKkwin +uNjXs8DYHulXZ4Q+a0ea +=vJ1t -----END PGP SIGNATURE----- diff --git a/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild b/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild new file mode 100644 index 000000000000..9614f723cc81 --- /dev/null +++ b/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild,v 1.1 2014/10/31 09:08:43 jlec Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils multilib + +MYP=cppad-${PV} + +DESCRIPTION="COIN-OR C++ Algorithmic Differentiation" +HOMEPAGE="https://projects.coin-or.org/CppAD/" +SRC_URI="http://www.coin-or.org/download/source/CppAD/${MYP}.gpl.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=" + dev-libs/boost[threads] + sci-libs/adolc:0= + sci-libs/ipopt:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +S="${WORKDIR}/${MYP}" + +PATCHES=( + "${FILESDIR}"/${P}-dash.patch + "${FILESDIR}"/${P}-boost.patch + ) + +src_configure() { + local myeconfargs=( $(use doc Documentation) ) + autotools-utils_src_configure CXX_FLAGS="${CXXFLAGS}" +} + +src_compile() { + autotools-utils_src_compile + if use doc; then + ./build.sh doxygen || die + fi +} + +src_test() { + autotools-utils_src_test check test +} + +src_install() { + use doc && HTML_DOC=( "${BUILD_DIR}"/doxydocs/html/. ) + autotools-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r example/* + fi +} diff --git a/sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch b/sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch new file mode 100644 index 000000000000..7a4d3ae83aca --- /dev/null +++ b/sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch @@ -0,0 +1,79 @@ + configure.ac | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 033621f..87e129a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -550,13 +550,14 @@ dnl check for boost thread library + AC_LANG_PUSH([C++]) + LDFLAGS_save=$LDFLAGS + CXXFLAGS_save=$CXXFLAGS ++LIBS_save=$LIBS + boost_thread_found='no' + if test "$BOOST_DIR" != '' ; then + CXXFLAGS="-I$BOOST_DIR/include $CXXFLAGS" + fi + if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then +- bthread_lib='-lboost_thread-mt' +- LDFLAGS="$LDFLAGS_save $bthread_lib" ++ bthread_lib='-lboost_thread-mt -lboost_system' ++ LIBS="$LIBS_save $bthread_lib" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [# include <boost/thread.hpp>], +@@ -568,7 +569,7 @@ if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then + fi + if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.so" +- LDFLAGS="$LDFLAGS_save $bthread_lib" ++ LIBS="$LIBS_save $bthread_lib" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [# include <boost/thread.hpp>], +@@ -580,7 +581,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + fi + if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.a" +- LDFLAGS="$LDFLAGS_save $bthread_lib" ++ LIBS="$LIBS_save $bthread_lib" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [# include <boost/thread.hpp>], +@@ -591,8 +592,8 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + ) + fi + if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then +- bthread_lib='-lboost_thread' +- LDFLAGS="$LDFLAGS_save $bthread_lib" ++ bthread_lib='-lboost_thread -lboost_system' ++ LIBS="$LIBS_save $bthread_lib" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [# include <boost/thread.hpp>], +@@ -604,7 +605,7 @@ if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then + fi + if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread.so" +- LDFLAGS="$LDFLAGS_save $bthread_lib" ++ LIBS="$LIBS_save $bthread_lib" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [# include <boost/thread.hpp>], +@@ -616,7 +617,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + fi + if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread.a" +- LDFLAGS="$LDFLAGS_save $bthread_lib" ++ LIBS="$LIBS_save $bthread_lib" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [# include <boost/thread.hpp>], +@@ -636,6 +637,7 @@ else + fi + LDFLAGS=$LDFLAGS_save + CXXFLAGS=$CXXFLAGS_save ++LIBS=$LIBS_save + AC_LANG_POP([C++]) + # + dnl -------------------------------------------------------------------------- diff --git a/sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch b/sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch new file mode 100644 index 000000000000..fe0b210f1075 --- /dev/null +++ b/sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch @@ -0,0 +1,215 @@ + configure.ac | 56 ++++++++++++++++++++++++++++---------------------------- + 1 file changed, 28 insertions(+), 28 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 9e917dd..033621f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -194,7 +194,7 @@ AC_ARG_WITH(sparse_list, + ) + AC_MSG_RESULT([$sparse_list]) + if test "$sparse_set" = "yes" ; then +- if test "$sparse_list" == "yes" ; then ++ if test "$sparse_list" = "yes" ; then + AC_MSG_ERROR([cannot --with both sparse_set and sparse_list]) + fi + AC_SUBST(cppad_internal_sparse_set, sparse_set) +@@ -374,7 +374,7 @@ AC_SUBST(cppad_max_num_threads, [$max_num_threads]) + dnl type used for addresses in AD tapes [ default = unsigned int ] ----------- + AC_MSG_CHECKING([TAPE_ADDR_TYPE]) + AC_ARG_VAR(TAPE_ADDR_TYPE, [type used for addresses in AD tapes]) +-if test "$TAPE_ADDR_TYPE" == "" ; then ++if test "$TAPE_ADDR_TYPE" = "" ; then + addr_t="unsigned int" + else + addr_t="$TAPE_ADDR_TYPE" +@@ -382,22 +382,22 @@ fi + AC_SUBST(cppad_tape_addr_type, [$addr_t]) + AC_MSG_RESULT([$addr_t]) + ok="no" +-if test "$addr_t" == "size_t" ; then ++if test "$addr_t" = "size_t" ; then + ok="yes" + fi +-if test "$addr_t" == "int" ; then ++if test "$addr_t" = "int" ; then + AC_MSG_WARN( + [TAPE_ADDR_TYPE=int is for CppAD developers (not users)] + ) + ok="yes" + fi +-if test "$addr_t" == "unsigned int" ; then ++if test "$addr_t" = "unsigned int" ; then + ok="yes" + fi +-if test "$addr_t" == "unsigned short int" ; then ++if test "$addr_t" = "unsigned short int" ; then + ok="yes" + fi +-if test "$ok" == "no" ; then ++if test "$ok" = "no" ; then + AC_MSG_ERROR( + [$addr_t is not a valid choice for TAPE_ADDR_TYPE] + ) +@@ -406,7 +406,7 @@ fi + dnl type used for tape identifier [ default = unsigned int ] ----------- + AC_MSG_CHECKING([TAPE_ID_TYPE]) + AC_ARG_VAR(TAPE_ID_TYPE, [type used for addresses in AD tapes]) +-if test "$TAPE_ID_TYPE" == "" ; then ++if test "$TAPE_ID_TYPE" = "" ; then + tape_id_t="unsigned int" + else + tape_id_t="$TAPE_ID_TYPE" +@@ -414,22 +414,22 @@ fi + AC_SUBST(cppad_tape_id_type, [$tape_id_t]) + AC_MSG_RESULT([$tape_id_t]) + ok="no" +-if test "$tape_id_t" == "size_t" ; then ++if test "$tape_id_t" = "size_t" ; then + ok="yes" + fi +-if test "$tape_id_t" == "int" ; then ++if test "$tape_id_t" = "int" ; then + AC_MSG_WARN( + [TAPE_ID_TYPE=int is for CppAD developers (not users)] + ) + ok="yes" + fi +-if test "$tape_id_t" == "unsigned int" ; then ++if test "$tape_id_t" = "unsigned int" ; then + ok="yes" + fi +-if test "$tape_id_t" == "unsigned short int" ; then ++if test "$tape_id_t" = "unsigned short int" ; then + ok="yes" + fi +-if test "$ok" == "no" ; then ++if test "$ok" = "no" ; then + AC_MSG_ERROR( + [$tape_id_t is not a valid choice for TAPE_ID_TYPE] + ) +@@ -447,7 +447,7 @@ AC_SUBST(cppad_has_rvalue, 0) + dnl Determine if size_t has same size as unsigned int + AC_CHECK_SIZEOF([size_t]) + AC_CHECK_SIZEOF([unsigned int]) +-if test "$ac_cv_size_t" == "$ac_cv_unsigned_int" ; then ++if test "$ac_cv_size_t" = "$ac_cv_unsigned_int" ; then + AC_SUBST(cppad_size_t_same_unsigned_int, 1) + else + AC_SUBST(cppad_size_t_same_unsigned_int, 0) +@@ -485,8 +485,8 @@ AC_PROG_RANLIB + dnl AC_PROG_CXX([compiler-search-list]) outputs CXX as C++ compiler to use + AC_PROG_CXX + AC_MSG_CHECKING([whether using Microsoft C++ compiler]) +-AM_CONDITIONAL(CppAD_MS_COMPILER, test "$CXX" == "cl" || test "$CXX" == "icl") +-if test "$CXX" == "cl" || test "$CXX" == "icl"; then ++AM_CONDITIONAL(CppAD_MS_COMPILER, test "$CXX" = "cl" || test "$CXX" = "icl") ++if test "$CXX" = "cl" || test "$CXX" = "icl"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +@@ -531,7 +531,7 @@ AC_CHECK_LIB( + [pthread="no"] + ) + AM_CONDITIONAL(CppAD_PTHREAD, test "$pthread" = "yes") +-if test "$pthread" == "yes" ; then ++if test "$pthread" = "yes" ; then + AC_SUBST(PTHREAD_LIB,"-lpthread") + else + AC_SUBST(PTHREAD_LIB,"") +@@ -554,7 +554,7 @@ boost_thread_found='no' + if test "$BOOST_DIR" != '' ; then + CXXFLAGS="-I$BOOST_DIR/include $CXXFLAGS" + fi +-if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then ++if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then + bthread_lib='-lboost_thread-mt' + LDFLAGS="$LDFLAGS_save $bthread_lib" + AC_LINK_IFELSE( +@@ -566,7 +566,7 @@ if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then + [boost_thread_found='no'] + ) + fi +-if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then ++if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.so" + LDFLAGS="$LDFLAGS_save $bthread_lib" + AC_LINK_IFELSE( +@@ -578,7 +578,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then + [boost_thread_found='no'] + ) + fi +-if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then ++if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.a" + LDFLAGS="$LDFLAGS_save $bthread_lib" + AC_LINK_IFELSE( +@@ -590,7 +590,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then + [boost_thread_found='no'] + ) + fi +-if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then ++if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then + bthread_lib='-lboost_thread' + LDFLAGS="$LDFLAGS_save $bthread_lib" + AC_LINK_IFELSE( +@@ -602,7 +602,7 @@ if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then + [boost_thread_found='no'] + ) + fi +-if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then ++if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread.so" + LDFLAGS="$LDFLAGS_save $bthread_lib" + AC_LINK_IFELSE( +@@ -614,7 +614,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then + [boost_thread_found='no'] + ) + fi +-if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then ++if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then + bthread_lib="$BOOST_DIR/lib/libboost_thread.a" + LDFLAGS="$LDFLAGS_save $bthread_lib" + AC_LINK_IFELSE( +@@ -627,7 +627,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then + ) + fi + AM_CONDITIONAL(CppAD_BTHREAD, test "$boost_thread_found" = 'yes') +-if test "$boost_thread_found" == 'yes' ; then ++if test "$boost_thread_found" = 'yes' ; then + AC_SUBST(BTHREAD_LIB,"$bthread_lib") + AC_MSG_RESULT([boost::thread library... yes]) + else +@@ -650,12 +650,12 @@ fi + AC_SUBST(CPPAD_IPOPT_LD_PATH, "$IPOPT_LD_PATH") + # + AC_SUBST(CPPAD_IPOPT_LIBS, "$IPOPT_LIBS -lipopt") +-if test "$have_pkg_config" == "yes"; then ++if test "$have_pkg_config" = "yes"; then + dnl set CPPAD_IPOPT_LIBS + PKG_CONFIG_PATH="$IPOPT_DIR/lib/pkgconfig:$IPOPT_DIR/share/pkgconfig" + PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$IPOPT_DIR/lib64/pkgconfig" + export PKG_CONFIG_PATH +- if pkg-config --libs ipopt >& /dev/null ; then ++ if pkg-config --libs ipopt > /dev/null 2>&1 ; then + CPPAD_IPOPT_LIBS=`pkg-config --libs ipopt` + else + dnl check for blas library +@@ -696,7 +696,7 @@ dnl + AC_SUBST(cppad_description, "Differentiation of C++ Algorithms") + AC_SUBST(cppad_version, ${PACKAGE_VERSION} ) + AC_SUBST(cppad_url, "http://www.coin-or.org/CppAD") +-if test "$prefix" == "NONE" ; then ++if test "$prefix" = "NONE" ; then + cppad_cflags_value="-I$HOME/include" + cppad_libs_value="-L$HOME/lib" + else +@@ -707,7 +707,7 @@ if test "$POSTFIX_DIR" != "" ; then + cppad_cflags_value="$cppad_cflags_value/$POSTFIX_DIR" + cppad_libs_value="$cppad_libs_value/$POSTFIX_DIR" + fi +-if test "$IPOPT_DIR" == "" ; then ++if test "$IPOPT_DIR" = "" ; then + cppad_libs_value="" + cppad_requires_value="" + else |