src/sn-apply.c: Remove unused include.
authorFlorian Forster <octo@verplant.org>
Mon, 6 Jun 2011 13:19:06 +0000 (15:19 +0200)
committerFlorian Forster <octo@verplant.org>
Mon, 6 Jun 2011 13:19:06 +0000 (15:19 +0200)
configure.ac
src/sn-apply.c

index 11b9f59..87c8200 100644 (file)
@@ -113,6 +113,11 @@ PKG_CHECK_MODULES([glib], [glib-2.0],
                  [have_libglib="yes"],
                  [have_libglib="no"])
 
+if test "x$have_libglib" != "xyes"
+then
+       AC_MSG_ERROR([The GLib library could not be found. It is required when building libsortnetwork!])
+fi
+
 AC_CONFIG_FILES([Makefile src/Makefile])
 AC_OUTPUT
 
index 24f01d7..f70b378 100644 (file)
@@ -35,7 +35,6 @@
 #include <limits.h>
 
 #include "sn_network.h"
-#include "sn_population.h"
 #include "sn_random.h"
 
 static sn_network_t *network = NULL;