X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=70be87c871192b595dcab64c944f53a1c70b0763;hb=9bbc25801ddd8c30d731a7baeac46fc5e7d65881;hp=680d4328d68f5a6466de156b9308d7e225cb4a51;hpb=db7017455fa3804559584c706c20897794e0b1c2;p=sort-networks.git diff --git a/configure.ac b/configure.ac index 680d432..70be87c 100644 --- 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"],