From: Adam Dickmeiss Date: Tue, 14 May 2013 12:20:53 +0000 (+0200) Subject: Restore LIBS if some component is not found X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=06ec18fbfaad00e4aaf915a2704c4b04c6f2924d;p=m4-moved-to-github.git Restore LIBS if some component is not found --- diff --git a/boost.m4 b/boost.m4 index 5eb0cfa..38060ca 100644 --- a/boost.m4 +++ b/boost.m4 @@ -90,6 +90,7 @@ int x = BOOST_VERSION; AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) + LIBS="${saveLIBS}" fi fi ;; @@ -114,6 +115,7 @@ int x = BOOST_VERSION; AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) + LIBS="${saveLIBS}" fi ;; test) @@ -164,6 +166,7 @@ int x = BOOST_VERSION; AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) + LIBS="${saveLIBS}" fi ;; esac