src/sn-tex.c: Make it possible to specify the absolute width of the graphic.
[sort-networks.git] / configure.ac
index 680d432..d8502fa 100644 (file)
@@ -1,4 +1,4 @@
-AC_PREREQ([2.65])
+AC_PREREQ([2.61])
 AC_INIT([libsortnetwork], [1.0.0], [ff@octo.it])
 AC_CONFIG_SRCDIR([src/sn_network.c])
 AC_CONFIG_HEADERS([src/config.h])
@@ -16,9 +16,7 @@ AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 
 # Libtool stuff
-LT_CONFIG_LTDL_DIR([libltdl])
 LT_INIT
-LTDL_INIT
 
 if test "x$GCC" = "xyes"
 then
@@ -80,11 +78,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"],