projects
/
sort-networks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7688411
)
configure.ac: Link with "pthread" if no libs are given explicitly.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 10 May 2010 10:22:55 +0000
(12:22 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 10 May 2010 10:22:55 +0000
(12:22 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
680d432
..
70be87c
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-80,11
+80,15
@@
then
AC_CHECK_HEADERS(population.h,
[with_libpopulation="yes"],
[with_libpopulation="no"])
- echo "with_libpopulation = $with_libpopulation"
fi
if test "x$with_libpopulation" = "xyes"
then
+ if test "x$LIBPOPULATION_LIBS" = "x"
+ then
+ LIBPOPULATION_LIBS="-lpthread"
+ fi
+
AC_CHECK_LIB(population, population_create,
[with_libpopulation="yes"],
[with_libpopulation="no"],