projects
/
m4-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516c9f9
)
Use AC_LANG_SOURCE instead of AC_LANG_PROGRAM for unit lib test
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 21 Apr 2008 09:29:27 +0000
(11:29 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 21 Apr 2008 09:29:27 +0000
(11:29 +0200)
boost.m4
patch
|
blob
|
history
diff --git
a/boost.m4
b/boost.m4
index
13c7f3d
..
64e6ecc
100644
(file)
--- a/
boost.m4
+++ b/
boost.m4
@@
-81,7
+81,7
@@
int x = BOOST_VERSION;
BOOST_TEST_LIB=""
for l in boost_unit_test_framework-mt boost_unit_test_framework; do
LIBS="${saveLIBS} -l${l}"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+ AC_LINK_IFELSE([AC_LANG_SOURCE([[
#define BOOST_TEST_DYN_LINK
#define BOOST_AUTO_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
@@
-89,7
+89,6
@@
BOOST_AUTO_TEST_CASE( t )
{
BOOST_CHECK(1);
}
-]],[[
]])],[
BOOST_TEST_LIB="-l${l}"
break