You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AC_MSG_NOTICE([[We could not detect the boost libraries (version $1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.]])
289
289
else
290
290
AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).])
AC_DEFINE(HAVE_BOOST_IOSTREAMS,,[define if the Boost::IOStreams library is available])
80
80
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
81
-
if test "x$ax_boost_user_iostreams_lib" = "x"; then
81
+
if test "$ax_boost_user_iostreams_lib" = ""; then
82
82
for libextension in `ls $BOOSTLIBDIR/libboost_iostreams*.so* $BOOSTLIBDIR/libboost_iostream*.dylib* $BOOSTLIBDIR/libboost_iostreams*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_iostreams.*\)\.so.*$;\1;' -e 's;^lib\(boost_iostream.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_iostreams.*\)\.a.*$;\1;'` ; do
for libextension in `ls $BOOSTLIBDIR/boost_iostreams*.dll* $BOOSTLIBDIR/boost_iostreams*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_iostreams.*\)\.dll.*$;\1;' -e 's;^\(boost_iostreams.*\)\.a.*$;\1;'` ; do
if test "x$ax_cv_boost_unit_test_framework" = "xyes"; then
73
+
if test "$ax_cv_boost_unit_test_framework" = "yes"; then
74
74
AC_DEFINE(HAVE_BOOST_UNIT_TEST_FRAMEWORK,,[define if the Boost::Unit_Test_Framework library is available])
75
75
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
76
76
77
-
if test "x$ax_boost_user_unit_test_framework_lib" = "x"; then
77
+
if test "$ax_boost_user_unit_test_framework_lib" = ""; then
78
78
saved_ldflags="${LDFLAGS}"
79
79
for monitor_library in `ls $BOOSTLIBDIR/libboost_unit_test_framework*.so* $BOOSTLIBDIR/libboost_unit_test_framework*.dylib* $BOOSTLIBDIR/libboost_unit_test_framework*.a* 2>/dev/null` ; do
if test "x$link_unit_test_framework" = "xyes"; then
88
+
if test "$link_unit_test_framework" = "yes"; then
89
89
BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib"
90
90
AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
91
91
break
92
92
fi
93
93
done
94
-
if test "x$link_unit_test_framework" != "xyes"; then
94
+
if test "$link_unit_test_framework" != "yes"; then
95
95
for libextension in `ls $BOOSTLIBDIR/boost_unit_test_framework*.dll* $BOOSTLIBDIR/boost_unit_test_framework*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_unit_test_framework.*\)\.dll.*$;\1;' -e 's;^\(boost_unit_test_framework.*\)\.a.*$;\1;'` ; do
Copy file name to clipboardexpand all lines: build-aux/m4/ax_boost_zlib.m4
+3-3
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ AC_DEFUN([AX_BOOST_ZLIB],
47
47
[want_boost="yes"]
48
48
)
49
49
50
-
if test "x$want_boost" = "xyes"; then
50
+
if test "$want_boost" = "yes"; then
51
51
AC_REQUIRE([AC_PROG_CC])
52
52
CPPFLAGS_SAVED="$CPPFLAGS"
53
53
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
@@ -59,14 +59,14 @@ AC_DEFUN([AX_BOOST_ZLIB],
59
59
60
60
AC_DEFINE(HAVE_BOOST_ZLIB,,[define if the Boost::zlib library is available])
61
61
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
62
-
if test "x$ax_boost_user_zlib_lib" = "x"; then
62
+
if test "$ax_boost_user_zlib_lib" = ""; then
63
63
for libextension in `ls $BOOSTLIBDIR/libboost_zlib*.so* $BOOSTLIBDIR/libboost_iostream*.dylib* $BOOSTLIBDIR/libboost_zlib*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_zlib.*\)\.so.*$;\1;' -e 's;^lib\(boost_iostream.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_zlib.*\)\.a.*$;\1;'` ; do
for libextension in `ls $BOOSTLIBDIR/boost_zlib*.dll* $BOOSTLIBDIR/boost_zlib*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_zlib.*\)\.dll.*$;\1;' -e 's;^\(boost_zlib.*\)\.a.*$;\1;'` ; do
0 commit comments