Quoting fix for boost thread check
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 2 May 2013 18:19:01 +0000 (18:19 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 2 May 2013 18:19:01 +0000 (18:19 +0000)
boost.m4

index e66a637..3ef2e7e 100644 (file)
--- a/boost.m4
+++ b/boost.m4
@@ -77,7 +77,7 @@ version_is:BOOST_VERSION
                        AC_SUBST([BOOST_THREAD_LIB])
                        saveLIBS="${LIBS}"
                        BOOST_THREAD_LIB=""
-                       for l in ${BOOST_TOOLSET}-mt ${BOOST_TOOLSET}; do
+                       for l in "${BOOST_TOOLSET}-mt" "${BOOST_TOOLSET}"; do
                            trylib="-lboost_thread${l}"
                            if test "$BOOST_GOT_VERSION" -ge 104100; then
                                trylib="-lboost_system${l} ${trylib}"